diff options
author | Alex Seiler <seileralex@gmail.com> | 2017-08-08 00:41:38 +0200 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2017-08-08 05:41:38 +0700 |
commit | 4bf22f7a1014c55e3358b5a419945071b152eafc (patch) | |
tree | 5957955b7a01b004443df6be2b971a2a3c7e8c2e /youtube_dl/extractor/twentymin.py | |
parent | 15d1e8a23dbaa28635cae30ff6c5cfb095b4c7c0 (diff) |
[20min] Fix embeds extraction
Diffstat (limited to 'youtube_dl/extractor/twentymin.py')
-rw-r--r-- | youtube_dl/extractor/twentymin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/twentymin.py b/youtube_dl/extractor/twentymin.py index 4fd1aa4bf..a42977f39 100644 --- a/youtube_dl/extractor/twentymin.py +++ b/youtube_dl/extractor/twentymin.py @@ -50,7 +50,7 @@ class TwentyMinutenIE(InfoExtractor): @staticmethod def _extract_urls(webpage): return [m.group('url') for m in re.finditer( - r'<iframe[^>]+src=(["\'])(?P<url>(?:https?://)?(?:www\.)?20min\.ch/videoplayer/videoplayer.html\?.*?\bvideoId@\d+.*?)\1', + r'<iframe[^>]+src=(["\'])(?P<url>(?:(?:https?:)?//)?(?:www\.)?20min\.ch/videoplayer/videoplayer.html\?.*?\bvideoId@\d+.*?)\1', webpage)] def _real_extract(self, url): |