[brightcove] Allow whitespace around attribute names in embedded code
This commit is contained in:
parent
238cec17ae
commit
9edf47df7b
2 changed files with 17 additions and 1 deletions
|
@ -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/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue