projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[generic] Improve rtl.nl embeds detection (Closes #5950)
[youtube-dl]
/
youtube_dl
/
extractor
/
generic.py
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(
# 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')
webpage)
if matches:
return _playlist_from_matches(matches, ie='RtlNl')