mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[brightcove] Improve embed detection (closes #25674)
This commit is contained in:
		| @@ -426,7 +426,7 @@ class BrightcoveNewIE(AdobePassIE): | ||||
|         # [2] looks like: | ||||
|         for video, script_tag, account_id, player_id, embed in re.findall( | ||||
|                 r'''(?isx) | ||||
|                     (<video\s+[^>]*\bdata-video-id\s*=\s*['"]?[^>]+>) | ||||
|                     (<video(?:-js)?\s+[^>]*\bdata-video-id\s*=\s*['"]?[^>]+>) | ||||
|                     (?:.*? | ||||
|                         (<script[^>]+ | ||||
|                             src=["\'](?:https?:)?//players\.brightcove\.net/ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․