[vk] Clarify extractor names
authorSergey M․ <dstftw@gmail.com>
Sat, 18 Jul 2015 11:23:33 +0000 (17:23 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 18 Jul 2015 11:23:33 +0000 (17:23 +0600)
youtube_dl/extractor/vk.py

index 93c5b18c9bb8b8c3c16c6fbf849f28bdbaf349c2..ef94b689488d98d7aec23c1d0afa9fe6544561c2 100644 (file)
@@ -20,7 +20,8 @@ from ..utils import (
 
 
 class VKIE(InfoExtractor):
-    IE_NAME = 'vk.com'
+    IE_NAME = 'vk'
+    IE_DESC = 'VK'
     _VALID_URL = r'''(?x)
                     https?://
                         (?:
@@ -289,8 +290,8 @@ class VKIE(InfoExtractor):
 
 
 class VKUserVideosIE(InfoExtractor):
-    IE_NAME = 'vk.com:user-videos'
-    IE_DESC = 'vk.com:All of a user\'s videos'
+    IE_NAME = 'vk:uservideos'
+    IE_DESC = "VK - User's Videos"
     _VALID_URL = r'https?://vk\.com/videos(?P<id>-?[0-9]+)$'
     _TEMPLATE_URL = 'https://vk.com/videos'
     _TESTS = [{