[tvc] Refactor extractor names
This commit is contained in:
parent
494f20cbdc
commit
954c1d0529
3 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ from ..utils import (
|
|||
)
|
||||
|
||||
|
||||
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',
|
||||
|
@ -63,7 +63,7 @@ class TVCEmbedIE(InfoExtractor):
|
|||
}
|
||||
|
||||
|
||||
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/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue