mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-26 20:22:14 +00:00
[vk] Clarify extractor names
This commit is contained in:
parent
dc786d3db5
commit
1ecb5d1d83
1 changed files with 4 additions and 3 deletions
|
@ -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 = [{
|
||||||
|
|
Loading…
Reference in a new issue