1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[vk] Updated the regex for matching user video pages. It now matches optional URL parameters too.

This commit is contained in:
Will Sewell 2014-11-18 19:34:12 +00:00
parent 469d4c8968
commit 6fcd6e0e21

View File

@ -190,7 +190,7 @@ def _real_extract(self, url):
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',