mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
svtplay: another videoid from the url
This commit is contained in:
parent
e895e02d70
commit
00114f6750
@ -101,6 +101,11 @@ class Svtplay(Service, OpenGraphThumbMixin):
|
||||
match = re.search("/video/([0-9]+)/", parse.path)
|
||||
if match:
|
||||
return match.group(1)
|
||||
match = re.search("/videoEpisod-([^/]+)/", parse.path)
|
||||
if match:
|
||||
self._urldata = None
|
||||
self._url = "http://www.svtplay.se/video/%s/" % match.group(1)
|
||||
return match.group(1)
|
||||
return None
|
||||
|
||||
def find_all_episodes(self, options):
|
||||
|
Loading…
Reference in New Issue
Block a user