diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-05-01 01:03:47 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-05-01 01:03:47 +0700 |
commit | 9edf47df7bfbcdd67bce68ea04865aa1f51df2f6 (patch) | |
tree | 0c1dd7f036cfe79e5bfc11d6897b6c5415b21e14 /youtube_dl/extractor/brightcove.py | |
parent | 238cec17ae51c0f624588095d3a370a3b6964bdd (diff) |
[brightcove] Allow whitespace around attribute names in embedded code
Diffstat (limited to 'youtube_dl/extractor/brightcove.py')
-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 97602ca30..3f017a2b1 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) - (<video\s+[^>]*data-video-id=['"]?[^>]+>) + (<video\s+[^>]*\bdata-video-id\s*=\s*['"]?[^>]+>) (?:.*? (<script[^>]+ src=["\'](?:https?:)?//players\.brightcove\.net/ |