[brightcove] Rename extractor to brightcove legacy

Old embedding approaches are now "Legacy Studio"
This commit is contained in:
Sergey M․ 2015-11-14 05:54:16 +06:00
parent 536f819eda
commit 4fcaa4f4a5
7 changed files with 14 additions and 14 deletions

View file

@ -1,7 +1,7 @@
# encoding: utf-8
from __future__ import unicode_literals
from .brightcove import BrightcoveIE
from .brightcove import BrightcoveLegacyIE
from .common import InfoExtractor
from ..utils import ExtractorError
from ..compat import (
@ -22,7 +22,7 @@ class NownessBaseIE(InfoExtractor):
'http://www.nowness.com/iframe?id=%s' % video_id, video_id,
note='Downloading player JavaScript',
errnote='Unable to download player JavaScript')
bc_url = BrightcoveIE._extract_brightcove_url(player_code)
bc_url = BrightcoveLegacyIE._extract_brightcove_url(player_code)
if bc_url is None:
raise ExtractorError('Could not find player definition')
return self.url_result(bc_url, 'Brightcove')