[generic] Treat both Brightcove's with similar verbosity
And distinguish then with (legacy) and (new) in the output.
This commit is contained in:
parent
50c71279c3
commit
976a38db62
@ -1848,7 +1848,7 @@ class GenericIE(InfoExtractor):
|
|||||||
# Look for Brightcove Legacy Studio embeds
|
# Look for Brightcove Legacy Studio embeds
|
||||||
bc_urls = BrightcoveLegacyIE._extract_brightcove_urls(webpage)
|
bc_urls = BrightcoveLegacyIE._extract_brightcove_urls(webpage)
|
||||||
if bc_urls:
|
if bc_urls:
|
||||||
self.to_screen('Brightcove video detected.')
|
self.to_screen('Brightcove (legacy) video detected.')
|
||||||
entries = [{
|
entries = [{
|
||||||
'_type': 'url',
|
'_type': 'url',
|
||||||
'url': smuggle_url(bc_url, {'Referer': url}),
|
'url': smuggle_url(bc_url, {'Referer': url}),
|
||||||
@ -1865,6 +1865,7 @@ class GenericIE(InfoExtractor):
|
|||||||
# Look for Brightcove New Studio embeds
|
# Look for Brightcove New Studio embeds
|
||||||
bc_urls = BrightcoveNewIE._extract_urls(webpage)
|
bc_urls = BrightcoveNewIE._extract_urls(webpage)
|
||||||
if bc_urls:
|
if bc_urls:
|
||||||
|
self.to_screen('Brightcove (new) video detected.')
|
||||||
return _playlist_from_matches(bc_urls, ie='BrightcoveNew')
|
return _playlist_from_matches(bc_urls, ie='BrightcoveNew')
|
||||||
|
|
||||||
# Look for ThePlatform embeds
|
# Look for ThePlatform embeds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user