Browse Source

[vk] Catch temporarily unavailable video error message

totalwebcasting
Sergey M․ 10 years ago
parent
commit
1aa5172f56
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      youtube_dl/extractor/vk.py

+ 4
- 1
youtube_dl/extractor/vk.py View File

@ -152,7 +152,10 @@ class VKIE(InfoExtractor):
'use --username and --password options to provide account credentials.', 'use --username and --password options to provide account credentials.',
r'<!>Unknown error': 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(): for error_re, error_msg in ERRORS.items():


Loading…
Cancel
Save