1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

viaplay: they changed the urls

maybe look for a better way to detect the id?
This commit is contained in:
Johan Andersson 2014-02-05 12:28:10 +01:00
parent 2844e0dc33
commit 3d44657775

View File

@ -27,7 +27,7 @@ class Viaplay(Service, OpenGraphThumbMixin):
def get(self, options):
parse = urlparse(self.url)
match = re.search(r'\/play\/(\d+)/?', parse.path)
match = re.search(r'\/(\d+)/?', parse.path)
if not match:
log.error("Cant find video file")
sys.exit(2)