projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15d1e8a
)
[20min] Fix embeds extraction
author
Alex Seiler
<seileralex@gmail.com>
Mon, 7 Aug 2017 22:41:38 +0000
(
00:41
+0200)
committer
Sergey M
<dstftw@gmail.com>
Mon, 7 Aug 2017 22:41:38 +0000
(
05:41
+0700)
youtube_dl/extractor/twentymin.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/twentymin.py
b/youtube_dl/extractor/twentymin.py
index 4fd1aa4bfbdaea2ec5abbac2161f6aea25e5fbbd..a42977f397e03ab71f70c585e1f3c34113b78eda 100644
(file)
--- 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):