Browse Source

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

totalwebcasting
Will Sewell 10 years ago
parent
commit
6fcd6e0e21
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/vk.py

+ 1
- 1
youtube_dl/extractor/vk.py View 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',


Loading…
Cancel
Save