From 976a38db62a26a6020f4f04b2191727045bb9751 Mon Sep 17 00:00:00 2001 From: John Hawkinson Date: Mon, 6 Mar 2017 22:43:00 -0500 Subject: [PATCH] [generic] Treat both Brightcove's with similar verbosity And distinguish then with (legacy) and (new) in the output. --- youtube_dl/extractor/generic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index d0eb5d419..785f555fa 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -1848,7 +1848,7 @@ class GenericIE(InfoExtractor): # Look for Brightcove Legacy Studio embeds bc_urls = BrightcoveLegacyIE._extract_brightcove_urls(webpage) if bc_urls: - self.to_screen('Brightcove video detected.') + self.to_screen('Brightcove (legacy) video detected.') entries = [{ '_type': 'url', 'url': smuggle_url(bc_url, {'Referer': url}), @@ -1865,6 +1865,7 @@ class GenericIE(InfoExtractor): # Look for Brightcove New Studio embeds bc_urls = BrightcoveNewIE._extract_urls(webpage) if bc_urls: + self.to_screen('Brightcove (new) video detected.') return _playlist_from_matches(bc_urls, ie='BrightcoveNew') # Look for ThePlatform embeds