[brightcove] match only video elements with data-video-id attribute

pull/8/head
Remita Amine 2017-04-22 22:26:20 +01:00
rodzic 4abdba643c
commit ffbc8386b9
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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