diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-06-16 17:37:58 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-06-16 17:38:25 +0700 |
commit | 2391941f283a1107b01f9df76a8b0e521a5abe3b (patch) | |
tree | edbd2625e6a3b8037f862d25676cbf931b6f01f8 | |
parent | 9ff6165a8199488e92e8a76962f37d944e14a738 (diff) |
[brightcove] Improve embed detection (closes #25674)
-rw-r--r-- | youtube_dl/extractor/brightcove.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) - (<video\s+[^>]*\bdata-video-id\s*=\s*['"]?[^>]+>) + (<video(?:-js)?\s+[^>]*\bdata-video-id\s*=\s*['"]?[^>]+>) (?:.*? (<script[^>]+ src=["\'](?:https?:)?//players\.brightcove\.net/ |