From 8c01f55b1d87b4b6a76b49dc1528b0ef177677d5 Mon Sep 17 00:00:00 2001 From: Avi Peretz Date: Sun, 7 Oct 2018 09:46:36 +0300 Subject: [PATCH] add only_matching test --- youtube_dl/extractor/vk.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index 680f81fdf..878ff197e 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -293,6 +293,11 @@ class VKIE(VKBaseIE): # This video is no longer available, because its author has been blocked. 'url': 'https://vk.com/video-10639516_456240611', 'only_matching': True, + }, + { + # The video Футбол. РФПЛ.14-й тур. Кубань - Локомотив 5:0 38' Сергей Ткачёв is not available in your region. + 'url': 'https://vk.com/video-51812607_171445436', + 'only_matching': True, } ] @@ -500,7 +505,8 @@ class VKUserVideosIE(VKBaseIE): }, { 'url': 'http://new.vk.com/videos205387401', 'only_matching': True, - }] + } + ] def _real_extract(self, url): page_id = self._match_id(url)