From: Sergey M․ Date: Tue, 16 Jun 2020 10:37:58 +0000 (+0700) Subject: [brightcove] Improve embed detection (closes #25674) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=2391941f283a1107b01f9df76a8b0e521a5abe3b;p=youtube-dl [brightcove] Improve embed detection (closes #25674) --- diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index 5c22a730d..2aa9f4782 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -426,7 +426,7 @@ class BrightcoveNewIE(AdobePassIE): # [2] looks like: for video, script_tag, account_id, player_id, embed in re.findall( r'''(?isx) - (]*\bdata-video-id\s*=\s*['"]?[^>]+>) + (]*\bdata-video-id\s*=\s*['"]?[^>]+>) (?:.*? (]+ src=["\'](?:https?:)?//players\.brightcove\.net/