From: Will Sewell Date: Tue, 18 Nov 2014 19:34:12 +0000 (+0000) Subject: [vk] Updated the regex for matching user video pages. It now matches optional URL... X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=6fcd6e0e21839ae4b1753995dc44d2a93f72ac1f;p=youtube-dl [vk] Updated the regex for matching user video pages. It now matches optional URL parameters too. --- diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index 5223e5e2c..3bcf50e28 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -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',