From 3ee52157fbade0dc5aab23c25db4c3d86f9d0dd3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Tue, 11 Mar 2014 00:58:05 +0700 Subject: [PATCH] [vgtrk] Rename vesti extractor --- youtube_dl/extractor/__init__.py | 2 +- youtube_dl/extractor/{vesti.py => vgtrk.py} | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) rename youtube_dl/extractor/{vesti.py => vgtrk.py} (98%) 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 similarity index 98% rename from youtube_dl/extractor/vesti.py rename to 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.+)' +class VGTRKIE(InfoExtractor): + IE_DESC = 'ВГТРК' + _VALID_URL = r'http://(?:.+?\.)?(?:vesti\.ru|russia2?\.tv|tvkultura\.ru|rutv\.ru)/(?P.+)' _TESTS = [ { -- 2.22.2