Browse Source

[20min] Fix embeds extraction

master-ytdl-org
Alex Seiler 7 years ago
committed by Sergey M
parent
commit
4bf22f7a10
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/twentymin.py

+ 1
- 1
youtube_dl/extractor/twentymin.py View File

@ -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):


Loading…
Cancel
Save