projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc786d3
)
[vk] Clarify extractor names
author
Sergey M․
<dstftw@gmail.com>
Sat, 18 Jul 2015 11:23:33 +0000
(17:23 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 18 Jul 2015 11:23:33 +0000
(17:23 +0600)
youtube_dl/extractor/vk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vk.py
b/youtube_dl/extractor/vk.py
index 93c5b18c9bb8b8c3c16c6fbf849f28bdbaf349c2..ef94b689488d98d7aec23c1d0afa9fe6544561c2 100644
(file)
--- 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
:user
videos'
+ IE_DESC =
"VK - User's Videos"
_VALID_URL = r'https?://vk\.com/videos(?P<id>-?[0-9]+)$'
_TEMPLATE_URL = 'https://vk.com/videos'
_TESTS = [{