[vgtrk] Rename vesti extractor
authorSergey M․ <dstftw@gmail.com>
Mon, 10 Mar 2014 17:58:05 +0000 (00:58 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 10 Mar 2014 17:58:05 +0000 (00:58 +0700)
youtube_dl/extractor/__init__.py
youtube_dl/extractor/vgtrk.py [moved from youtube_dl/extractor/vesti.py with 98% similarity]

index 9888c95df84b360fba9149283f189170ae61e2a1..dab729c582d887014909fddca9c96b9ccbdf56dd 100644 (file)
@@ -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
similarity index 98%
rename from youtube_dl/extractor/vesti.py
rename to youtube_dl/extractor/vgtrk.py
index 4b89f9892379202427dd365439d0868c71efcb17..429b8bc728c2b615bbadd36bc6bebd45868e6547 100644 (file)
@@ -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 = [
         {