From d919fa3344463f94a152a10ba65981cd290d9ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Sat, 11 Jul 2015 21:26:03 +0600 Subject: [PATCH] [vk] Handle access denied error --- youtube_dl/extractor/vk.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index 333c2a634..8ac3aeac0 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -222,6 +222,9 @@ def _real_extract(self, url): r'Видео временно недоступно': 'Video %s is temporarily unavailable.', + + r'Access denied': + 'Access denied to video %s.', } for error_re, error_msg in ERRORS.items():