From: Sergey M․ Date: Sat, 18 Jul 2015 11:23:33 +0000 (+0600) Subject: [vk] Clarify extractor names X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=1ecb5d1d83970d6295c655a37c99e390fb5d7dee;p=youtube-dl.git [vk] Clarify extractor names --- diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index 93c5b18c9..ef94b6894 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -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-?[0-9]+)$' _TEMPLATE_URL = 'https://vk.com/videos' _TESTS = [{