mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	[generic] Improve rtl.nl embeds detection (Closes #5950)
This commit is contained in:
		@@ -1073,7 +1073,7 @@ class GenericIE(InfoExtractor):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        # Look for embedded rtl.nl player
 | 
					        # Look for embedded rtl.nl player
 | 
				
			||||||
        matches = re.findall(
 | 
					        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)
 | 
					            webpage)
 | 
				
			||||||
        if matches:
 | 
					        if matches:
 | 
				
			||||||
            return _playlist_from_matches(matches, ie='RtlNl')
 | 
					            return _playlist_from_matches(matches, ie='RtlNl')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user