1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-02 10:29:28 +00:00

[brightcove] Improve brightcove experience regex (Closes #5421)

This commit is contained in:
Sergey M․ 2015-04-14 17:48:41 +06:00
parent 8da1bb0418
commit 476e1095fa

View file

@ -183,7 +183,7 @@ class BrightcoveIE(InfoExtractor):
(?: (?:
[^>]+?class=[\'"][^>]*?BrightcoveExperience.*?[\'"] | [^>]+?class=[\'"][^>]*?BrightcoveExperience.*?[\'"] |
[^>]*?>\s*<param\s+name="movie"\s+value="https?://[^/]*brightcove\.com/ [^>]*?>\s*<param\s+name="movie"\s+value="https?://[^/]*brightcove\.com/
).+?</object>''', ).+?>\s*</object>''',
webpage) webpage)
return [cls._build_brighcove_url(m) for m in matches] return [cls._build_brighcove_url(m) for m in matches]