mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-25 17:16:46 +00:00
[brightcove] match only video elements with data-video-id attribute
This commit is contained in:
parent
4abdba643c
commit
ffbc8386b9
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ class BrightcoveNewIE(InfoExtractor):
|
||||||
# [2] looks like:
|
# [2] looks like:
|
||||||
for video, script_tag, account_id, player_id, embed in re.findall(
|
for video, script_tag, account_id, player_id, embed in re.findall(
|
||||||
r'''(?isx)
|
r'''(?isx)
|
||||||
(<video\s+[^>]+>)
|
(<video\s+[^>]*data-video-id=['"]?[^>]+>)
|
||||||
(?:.*?
|
(?:.*?
|
||||||
(<script[^>]+
|
(<script[^>]+
|
||||||
src=["\'](?:https?:)?//players\.brightcove\.net/
|
src=["\'](?:https?:)?//players\.brightcove\.net/
|
||||||
|
|
Loading…
Reference in a new issue