commit: 1aa5172f56eca82ccb473859c6850ada677e6551
parent f7e2ee8fa6a3c5ca9ae8b8d25ae489f502c6277c
Author: Sergey M․ <dstftw@gmail.com>
Date: Sun, 1 Mar 2015 21:55:43 +0600
[vk] Catch temporarily unavailable video error message
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py
@@ -152,7 +152,10 @@ class VKIE(InfoExtractor):
'use --username and --password options to provide account credentials.',
r'<!>Unknown error':
- 'Video %s does not exist.'
+ 'Video %s does not exist.',
+
+ r'<!>Видео временно недоступно':
+ 'Video %s is temporarily unavailable.',
}
for error_re, error_msg in ERRORS.items():