[vk] Updated the regex for matching user video pages. It now matches optional URL...
authorWill Sewell <me@willsewell.name>
Tue, 18 Nov 2014 19:34:12 +0000 (19:34 +0000)
committerWill Sewell <me@willsewell.name>
Tue, 18 Nov 2014 19:34:12 +0000 (19:34 +0000)
youtube_dl/extractor/vk.py

index 5223e5e2c7c5955492bf58043ae7150d5384ff2d..3bcf50e280a7730c5650f93c1325718d935afd1a 100644 (file)
@@ -190,7 +190,7 @@ 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]+)'
+    _VALID_URL = r'https?://(?:m\.)?vk\.com/videos([0-9]+)(?:m\?.*)?'
     _TEMPLATE_URL = 'https://vk.com/videos'
     _TEST = {
         'url': 'http://vk.com/videos205387401',