commit 97b570a94cc2387153af525f781e144bb4bb791e parent a9d56c684319eaf8b9494bd8d2dc9d0f40485254 Author: Sergey M․ <dstftw@gmail.com> Date: Thu, 11 Jun 2015 19:04:12 +0600 [generic] Improve rtl.nl embeds detection (Closes #5950) Diffstat:
M | youtube_dl/extractor/generic.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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')