mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-31 00:22:53 +08:00
[brightcove] match only video elements with data-video-id attribute
This commit is contained in:
parent
4abdba643c
commit
ffbc8386b9
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user