From ffbc8386b9298ef343a71bf54d7426a19755fef8 Mon Sep 17 00:00:00 2001 From: Remita Amine Date: Sat, 22 Apr 2017 22:26:20 +0100 Subject: [PATCH] [brightcove] match only video elements with data-video-id attribute --- youtube_dl/extractor/brightcove.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index 183ac7dd0..97602ca30 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -522,7 +522,7 @@ class BrightcoveNewIE(InfoExtractor): # [2] looks like: for video, script_tag, account_id, player_id, embed in re.findall( r'''(?isx) - (]+>) + (]*data-video-id=['"]?[^>]+>) (?:.*? (]+ src=["\'](?:https?:)?//players\.brightcove\.net/ -- 2.22.2