diff options
author | Will Sewell <me@willsewell.name> | 2014-11-21 23:03:31 +0000 |
---|---|---|
committer | Will Sewell <me@willsewell.name> | 2014-11-21 23:03:31 +0000 |
commit | 53d1cd1f779201af426548fc77e1724b6c70abd9 (patch) | |
tree | e40da2d646ad86173e071985e1453370936032b0 | |
parent | cad985ab4d78ef00a77932e87cee5aba8a1e3320 (diff) |
[vk.com] Updated the _VALID_URL regex for the playlist IE. Removed optional m, and named the id group.
-rw-r--r-- | youtube_dl/extractor/vk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index d96abd16e..7136a0cb2 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -209,7 +209,7 @@ class VKIE(InfoExtractor): class VKUserVideosIE(InfoExtractor): IE_NAME = 'vk.com:user-videos' IE_DESC = 'vk.com:All of a user\'s videos' - _VALID_URL = r'https?://(?:m\.)?vk\.com/videos([0-9]+)(?:m\?.*)?' + _VALID_URL = r'https?://vk\.com/videos(?P<id>[0-9]+)(?:m\?.*)?' _TEMPLATE_URL = 'https://vk.com/videos' _TEST = { 'url': 'http://vk.com/videos205387401', |