diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-06-12 16:24:13 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-06-12 16:24:13 +0600 |
commit | 954c1d05299ae7c6a51db46c1ac33ddf150266c6 (patch) | |
tree | 3bf087da7a41458ff35fe610a3f23359251b573d /youtube_dl/extractor/tvc.py | |
parent | 494f20cbdca8e76e3cb452bb0feabcb855d9b4a7 (diff) |
[tvc] Refactor extractor names
Diffstat (limited to 'youtube_dl/extractor/tvc.py')
-rw-r--r-- | youtube_dl/extractor/tvc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/tvc.py b/youtube_dl/extractor/tvc.py index 756fec732..36c2a3196 100644 --- a/youtube_dl/extractor/tvc.py +++ b/youtube_dl/extractor/tvc.py @@ -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/', |