Restoring rtl scraper to re-conceal broken youtube embed in
http://www.rtlnieuws.nl/nieuws/buitenland/aanslagen-kopenhagen test url
This commit is contained in:
parent
6a058af477
commit
f578c82138
@ -1219,6 +1219,13 @@ class GenericIE(InfoExtractor):
|
||||
'entries': entries,
|
||||
}
|
||||
|
||||
# Look for embedded rtl.nl player
|
||||
matches = re.findall(
|
||||
r'<iframe[^>]+?src="((?:https?:)?//(?:www\.)?rtl\.nl/system/videoplayer/[^"]+(?:video_)?embed[^"]+)"',
|
||||
webpage)
|
||||
if matches:
|
||||
return _playlist_from_matches(matches, ie='RtlNl')
|
||||
|
||||
# Look for embedded YouTube player
|
||||
matches = re.findall(r'''(?x)
|
||||
(?:
|
||||
|
Loading…
x
Reference in New Issue
Block a user