From f5b28b7716ea11574e0338975c3130e1b3153a47 Mon Sep 17 00:00:00 2001 From: Sergey M Date: Sat, 17 Nov 2018 20:57:20 +0700 Subject: [PATCH] Update vk.py --- youtube_dl/extractor/vk.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index 878ff197e..4ecec9af8 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -295,11 +295,10 @@ class VKIE(VKBaseIE): 'only_matching': True, }, { - # The video Футбол. РФПЛ.14-й тур. Кубань - Локомотив 5:0 38' Сергей Ткачёв is not available in your region. + # The video is not available in your region. 'url': 'https://vk.com/video-51812607_171445436', 'only_matching': True, - } - ] + }] def _real_extract(self, url): mobj = re.match(self._VALID_URL, url) @@ -360,8 +359,8 @@ class VKIE(VKBaseIE): r'This video is no longer available, because it has been deleted.': 'Video %s is no longer available, because it has been deleted.', - r'is not available in your region.': - 'Video %s is not available in your region.', + r'The video .+? is not available in your region.': + 'Video %s is not available in your region.', } for error_re, error_msg in ERRORS.items():