1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-07 19:52:40 +01:00

[vk] Handle access denied error

This commit is contained in:
Sergey M․ 2015-07-11 21:26:03 +06:00
parent 79913fde35
commit d919fa3344

View File

@ -222,6 +222,9 @@ def _real_extract(self, url):
r'<!>Видео временно недоступно': r'<!>Видео временно недоступно':
'Video %s is temporarily unavailable.', 'Video %s is temporarily unavailable.',
r'<!>Access denied':
'Access denied to video %s.',
} }
for error_re, error_msg in ERRORS.items(): for error_re, error_msg in ERRORS.items():