]> git.bitcoin.ninja Git - youtube-dl/blobdiff - youtube_dl/extractor/vk.py
[vk.com] Updated the _VALID_URL regex for the playlist IE. Removed optional m, and...
[youtube-dl] / youtube_dl / extractor / vk.py
index d6632cbb7527852ce450d3e6a5e4134e9cb884a8..7136a0cb28d26d3fecd42ebc2962593b8710bf78 100644 (file)
@@ -208,8 +208,8 @@ class VKIE(InfoExtractor):
 
 class VKUserVideosIE(InfoExtractor):
     IE_NAME = 'vk.com:user-videos'
-    IE_DESC = 'All of a user\'s videos'
-    _VALID_URL = r'https?://(?:m\.)?vk\.com/videos([0-9]+)(?:m\?.*)?'
+    IE_DESC = 'vk.com:All of a user\'s videos'
+    _VALID_URL = r'https?://vk\.com/videos(?P<id>[0-9]+)(?:m\?.*)?'
     _TEMPLATE_URL = 'https://vk.com/videos'
     _TEST = {
         'url': 'http://vk.com/videos205387401',