projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4abdba6
)
[brightcove] match only video elements with data-video-id attribute
author
Remita Amine
<remitamine@gmail.com>
Sat, 22 Apr 2017 21:26:20 +0000
(22:26 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sat, 22 Apr 2017 21:26:20 +0000
(22:26 +0100)
youtube_dl/extractor/brightcove.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/brightcove.py
b/youtube_dl/extractor/brightcove.py
index 183ac7dd00e3563dde30df01493a3f533ec68ee6..97602ca303e4543b4a31f556e526e26df21bc0b5 100644
(file)
--- 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+[^>]+>)
+ (<video\s+[^>]
*data-video-id=['"]?[^>]
+>)
(?:.*?
(<script[^>]+
src=["\'](?:https?:)?//players\.brightcove\.net/