diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-06-29 19:51:00 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-06-29 19:51:00 +0700 |
commit | a8a98e43f214e6fe5d322dca3534a8ec926890b4 (patch) | |
tree | 7ac39e759345b874688aad7525a8bc1c4cc48988 | |
parent | 57bdc730e264ffbc93be55fe1541ca40fce48c49 (diff) |
[vk] Add support for mobile URLs
-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 c48528ad9..4afb05923 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -16,7 +16,7 @@ from ..utils import ( class VKIE(InfoExtractor): IE_NAME = 'vk.com' - _VALID_URL = r'https?://vk\.com/(?:video_ext\.php\?.*?\boid=(?P<oid>-?\d+).*?\bid=(?P<id>\d+)|(?:.+?\?.*?z=)?video(?P<videoid>.*?)(?:\?|%2F|$))' + _VALID_URL = r'https?://(?:m\.)?vk\.com/(?:video_ext\.php\?.*?\boid=(?P<oid>-?\d+).*?\bid=(?P<id>\d+)|(?:.+?\?.*?z=)?video(?P<videoid>.*?)(?:\?|%2F|$))' _NETRC_MACHINE = 'vk' _TESTS = [ |