projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9d56c6
)
[generic] Improve rtl.nl embeds detection (Closes #5950)
author
Sergey M․
<dstftw@gmail.com>
Thu, 11 Jun 2015 13:04:12 +0000
(19:04 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 11 Jun 2015 13:04:12 +0000
(19:04 +0600)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 759691365b3258f4d6fce045e4877c5798313341..75526384f07bd07f0c21c24455ac7017aef63ba0 100644
(file)
--- a/
youtube_dl/extractor/generic.py
+++ b/
youtube_dl/extractor/generic.py
@@
-1073,7
+1073,7
@@
class GenericIE(InfoExtractor):
# Look for embedded rtl.nl player
matches = re.findall(
- r'<iframe
\s+(?:[a-zA-Z-]+="[^"]+"\s+)*?src="((?:https?:)?//(?:www\.)?rtl\.nl/system/videoplayer/[^"]+video_
embed[^"]+)"',
+ r'<iframe
[^>]+?src="((?:https?:)?//(?:www\.)?rtl\.nl/system/videoplayer/[^"]+(?:video_)?
embed[^"]+)"',
webpage)
if matches:
return _playlist_from_matches(matches, ie='RtlNl')