mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-08-24 08:11:14 +02:00
[generic] Extract Brightcove New Studio embeds
This commit is contained in:
parent
24af85298e
commit
f6519f89b0
@ -1321,10 +1321,10 @@ def _playlist_from_matches(matches, getter=None, ie=None):
|
||||
'entries': entries,
|
||||
}
|
||||
|
||||
# Look for Brightcove In Page Embed:
|
||||
brightcove_in_page_embed_url = BrightcoveNewIE._extract_url(webpage)
|
||||
if brightcove_in_page_embed_url:
|
||||
return self.url_result(brightcove_in_page_embed_url, 'BrightcoveInPageEmbed')
|
||||
# Look for Brightcove New Studio embeds
|
||||
bc_urls = BrightcoveNewIE._extract_urls(webpage)
|
||||
if bc_urls:
|
||||
return _playlist_from_matches(bc_urls, ie='BrightcoveNew')
|
||||
|
||||
# Look for embedded rtl.nl player
|
||||
matches = re.findall(
|
||||
|
Loading…
Reference in New Issue
Block a user