1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 23:56:51 +01:00

[generic] Extract Brightcove New Studio embeds

This commit is contained in:
Sergey M․ 2015-11-14 06:03:07 +06:00
parent 24af85298e
commit f6519f89b0

View File

@ -1321,10 +1321,10 @@ class GenericIE(InfoExtractor):
'entries': entries, 'entries': entries,
} }
# Look for Brightcove In Page Embed: # Look for Brightcove New Studio embeds
brightcove_in_page_embed_url = BrightcoveNewIE._extract_url(webpage) bc_urls = BrightcoveNewIE._extract_urls(webpage)
if brightcove_in_page_embed_url: if bc_urls:
return self.url_result(brightcove_in_page_embed_url, 'BrightcoveInPageEmbed') return _playlist_from_matches(bc_urls, ie='BrightcoveNew')
# Look for embedded rtl.nl player # Look for embedded rtl.nl player
matches = re.findall( matches = re.findall(