[brightcove] Allow whitespace around attribute names in embedded code

This commit is contained in:
Sergey M․ 2017-05-01 01:03:47 +07:00
parent 238cec17ae
commit 9edf47df7b
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D
2 changed files with 17 additions and 1 deletions

View file

@ -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/