From: Remita Amine Date: Sat, 22 Apr 2017 21:26:20 +0000 (+0100) Subject: [brightcove] match only video elements with data-video-id attribute X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=ffbc8386b9298ef343a71bf54d7426a19755fef8;p=youtube-dl [brightcove] match only video elements with data-video-id attribute --- 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/