aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/twentymin.py
diff options
context:
space:
mode:
authorAlex Seiler <[email protected]>2017-08-08 00:41:38 +0200
committerSergey M <[email protected]>2017-08-08 05:41:38 +0700
commit4bf22f7a1014c55e3358b5a419945071b152eafc (patch)
tree5957955b7a01b004443df6be2b971a2a3c7e8c2e /youtube_dl/extractor/twentymin.py
parent15d1e8a23dbaa28635cae30ff6c5cfb095b4c7c0 (diff)
downloadyoutube-dl-4bf22f7a1014c55e3358b5a419945071b152eafc.tar.gz
youtube-dl-4bf22f7a1014c55e3358b5a419945071b152eafc.zip
[20min] Fix embeds extraction
Diffstat (limited to 'youtube_dl/extractor/twentymin.py')
-rw-r--r--youtube_dl/extractor/twentymin.py2
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):