aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/brightcove.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-05-01 01:03:47 +0700
committerSergey M․ <dstftw@gmail.com>2017-05-01 01:03:47 +0700
commit9edf47df7bfbcdd67bce68ea04865aa1f51df2f6 (patch)
tree0c1dd7f036cfe79e5bfc11d6897b6c5415b21e14 /youtube_dl/extractor/brightcove.py
parent238cec17ae51c0f624588095d3a370a3b6964bdd (diff)
downloadyoutube-dl-9edf47df7bfbcdd67bce68ea04865aa1f51df2f6.tar.xz
[brightcove] Allow whitespace around attribute names in embedded code
Diffstat (limited to 'youtube_dl/extractor/brightcove.py')
-rw-r--r--youtube_dl/extractor/brightcove.py2
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/