from .nbc import NBCSportsVPlayerIE
from .ooyala import OoyalaIE
from .rutv import RUTVIE
-from .tvc import TVCEmbedIE
+from .tvc import TVCIE
from .sportbox import SportBoxEmbedIE
from .smotri import SmotriIE
from .condenast import CondeNastIE
return self.url_result(rutv_url, 'RUTV')
# Look for embedded TVC player
- rutv_url = TVCEmbedIE._extract_url(webpage)
+ rutv_url = TVCIE._extract_url(webpage)
if rutv_url:
return self.url_result(rutv_url, 'TVCEmbed')
)
-class TVCEmbedIE(InfoExtractor):
+class TVCIE(InfoExtractor):
_VALID_URL = r'http://(?:www\.)?tvc\.ru/video/iframe/id/(?P<id>\d+)'
_TEST = {
'url': 'http://www.tvc.ru/video/iframe/id/74622/isPlay/false/id_stat/channel/?acc_video_id=/channel/brand/id/17/show/episodes/episode_id/39702',
}
-class TVCIE(InfoExtractor):
+class TVCArticleIE(InfoExtractor):
_VALID_URL = r'http://(?:www\.)?tvc\.ru/(?!video/iframe/id/)(?P<id>[^?#]+)'
_TESTS = [{
'url': 'http://www.tvc.ru/channel/brand/id/29/show/episodes/episode_id/39702/',