mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 19:17:06 -05:00 
			
		
		
		
	[brightcove] match only video elements with data-video-id attribute
This commit is contained in:
		@@ -522,7 +522,7 @@ class BrightcoveNewIE(InfoExtractor):
 | 
			
		||||
        # [2] looks like:
 | 
			
		||||
        for video, script_tag, account_id, player_id, embed in re.findall(
 | 
			
		||||
                r'''(?isx)
 | 
			
		||||
                    (<video\s+[^>]+>)
 | 
			
		||||
                    (<video\s+[^>]*data-video-id=['"]?[^>]+>)
 | 
			
		||||
                    (?:.*?
 | 
			
		||||
                        (<script[^>]+
 | 
			
		||||
                            src=["\'](?:https?:)?//players\.brightcove\.net/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user