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:
fnord 2015-07-13 17:28:05 -05:00
parent 6a058af477
commit f578c82138

View File

@ -1219,6 +1219,13 @@ class GenericIE(InfoExtractor):
'entries': entries, '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 # Look for embedded YouTube player
matches = re.findall(r'''(?x) matches = re.findall(r'''(?x)
(?: (?: