diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-03-11 00:58:05 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-03-11 00:58:05 +0700 |
commit | 3ee52157fbade0dc5aab23c25db4c3d86f9d0dd3 (patch) | |
tree | 26dd94a77ec5e1f6058397608bbd575a64e73d3f | |
parent | c4d197ee2d96d4e7881b7bd52104cc4d1cf49be5 (diff) |
[vgtrk] Rename vesti extractor
-rw-r--r-- | youtube_dl/extractor/__init__.py | 2 | ||||
-rw-r--r-- | youtube_dl/extractor/vgtrk.py (renamed from youtube_dl/extractor/vesti.py) | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py index 9888c95df..dab729c58 100644 --- a/youtube_dl/extractor/__init__.py +++ b/youtube_dl/extractor/__init__.py @@ -246,8 +246,8 @@ from .ustream import UstreamIE, UstreamChannelIE from .vbox7 import Vbox7IE from .veehd import VeeHDIE from .veoh import VeohIE -from .vesti import VestiIE from .vevo import VevoIE +from .vgtrk import VGTRKIE from .vice import ViceIE from .viddler import ViddlerIE from .videobam import VideoBamIE diff --git a/youtube_dl/extractor/vesti.py b/youtube_dl/extractor/vgtrk.py index 4b89f9892..429b8bc72 100644 --- a/youtube_dl/extractor/vesti.py +++ b/youtube_dl/extractor/vgtrk.py @@ -10,10 +10,9 @@ from ..utils import ( ) -class VestiIE(InfoExtractor): - IE_NAME = 'vesti' - IE_DESC = 'Вести.Ru' - _VALID_URL = r'http://(?:.+?\.)?(?:vesti\.ru|russia\.tv|tvkultura\.ru|rutv\.ru)/(?P<id>.+)' +class VGTRKIE(InfoExtractor): + IE_DESC = 'ВГТРК' + _VALID_URL = r'http://(?:.+?\.)?(?:vesti\.ru|russia2?\.tv|tvkultura\.ru|rutv\.ru)/(?P<id>.+)' _TESTS = [ { |