1
0
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:
Johan Andersson 2013-12-23 23:14:24 +01:00
parent af0bfdde00
commit ed7f18b2af

View File

@ -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)