From 00114f67507be68ffecf73f6ecaa9631a62c7719 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 10 Jan 2016 20:35:31 +0100 Subject: [PATCH] svtplay: another videoid from the url --- lib/svtplay_dl/service/svtplay.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index 41892a2..16234fa 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -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):