mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-16 18:42:38 +09:00
[vk] Updated the regex for matching user video pages. It now matches optional URL parameters too.
This commit is contained in:
parent
469d4c8968
commit
6fcd6e0e21
@ -190,7 +190,7 @@ class VKIE(InfoExtractor):
|
|||||||
class VKUserVideosIE(InfoExtractor):
|
class VKUserVideosIE(InfoExtractor):
|
||||||
IE_NAME = 'vk.com:user-videos'
|
IE_NAME = 'vk.com:user-videos'
|
||||||
IE_DESC = 'All of a user\'s 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'
|
_TEMPLATE_URL = 'https://vk.com/videos'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'http://vk.com/videos205387401',
|
'url': 'http://vk.com/videos205387401',
|
||||||
|
Loading…
Reference in New Issue
Block a user