mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:42:30 +00:00
[brightcove] Improve brightcove experience regex (Closes #5421)
This commit is contained in:
parent
8da1bb0418
commit
476e1095fa
@ -183,7 +183,7 @@ def _extract_brightcove_urls(cls, webpage):
|
||||
(?:
|
||||
[^>]+?class=[\'"][^>]*?BrightcoveExperience.*?[\'"] |
|
||||
[^>]*?>\s*<param\s+name="movie"\s+value="https?://[^/]*brightcove\.com/
|
||||
).+?</object>''',
|
||||
).+?>\s*</object>''',
|
||||
webpage)
|
||||
return [cls._build_brighcove_url(m) for m in matches]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user