1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-23 02:32:16 +00:00

[vk] Clarify extractor names

This commit is contained in:
Sergey M․ 2015-07-18 17:23:33 +06:00
parent dc786d3db5
commit 1ecb5d1d83

View file

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