Browse Source

[vk] Catch temporarily unavailable video error message

master
Sergey M․ 9 years ago
parent
commit
1aa5172f56
1 changed files with 4 additions and 1 deletions
  1. 5
      youtube_dl/extractor/vk.py

5
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():

Loading…
Cancel
Save