From: Sergey M․ Date: Mon, 10 Mar 2014 17:58:05 +0000 (+0700) Subject: [vgtrk] Rename vesti extractor X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3ee52157fbade0dc5aab23c25db4c3d86f9d0dd3;p=youtube-dl [vgtrk] Rename vesti extractor --- 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 = [ {