mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
viaplay: they use longer first dirname nowdays
This commit is contained in:
parent
af0bfdde00
commit
ed7f18b2af
@ -44,7 +44,7 @@ class Viaplay(Service):
|
||||
filename = xml.find("Url").text
|
||||
|
||||
parse = urlparse(filename)
|
||||
match = re.search("^(/[a-z0-9]{0,5})/(.*)", parse.path)
|
||||
match = re.search("^(/[a-z0-9]{0,20})/(.*)", parse.path)
|
||||
if not match:
|
||||
log.error("Somthing wrong with rtmpparse")
|
||||
sys.exit(2)
|
||||
|
Loading…
Reference in New Issue
Block a user