[vk.com] Updated the _VALID_URL regex for the playlist IE. Removed optional m, and...
authorWill Sewell <me@willsewell.name>
Fri, 21 Nov 2014 23:03:31 +0000 (23:03 +0000)
committerWill Sewell <me@willsewell.name>
Fri, 21 Nov 2014 23:03:31 +0000 (23:03 +0000)
youtube_dl/extractor/vk.py

index d96abd16ead850cd0976b5927454fa0457316c75..7136a0cb28d26d3fecd42ebc2962593b8710bf78 100644 (file)
@@ -209,7 +209,7 @@ class VKIE(InfoExtractor):
 class VKUserVideosIE(InfoExtractor):
     IE_NAME = 'vk.com:user-videos'
     IE_DESC = 'vk.com:All of a user\'s videos'
-    _VALID_URL = r'https?://(?:m\.)?vk\.com/videos([0-9]+)(?:m\?.*)?'
+    _VALID_URL = r'https?://vk\.com/videos(?P<id>[0-9]+)(?:m\?.*)?'
     _TEMPLATE_URL = 'https://vk.com/videos'
     _TEST = {
         'url': 'http://vk.com/videos205387401',