aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-11-14 06:03:07 +0600
committerSergey M․ <dstftw@gmail.com>2015-11-14 06:03:07 +0600
commitf6519f89b09be788549f68ba12f0cc31c55d9751 (patch)
tree69426a5f09d138f8434cd72c22cf16dd9ef45b25 /youtube_dl/extractor
parent24af85298ed1862ac809677e70ff59f3e9ee3234 (diff)
[generic] Extract Brightcove New Studio embeds
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/generic.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 0797e1a90..334864db3 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -1321,10 +1321,10 @@ class GenericIE(InfoExtractor):
'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(