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:
parent
2844e0dc33
commit
3d44657775
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user