1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[vk] PEP8

This commit is contained in:
Philipp Hagemeister 2014-11-23 22:14:27 +01:00
parent 380b822003
commit 3d36cea4ac

View File

@ -142,12 +142,14 @@ def _real_extract(self, url):
ERRORS = { ERRORS = {
r'>Видеозапись .*? была изъята из публичного доступа в связи с обращением правообладателя.<': r'>Видеозапись .*? была изъята из публичного доступа в связи с обращением правообладателя.<':
'Video %s has been removed from public access due to rightholder complaint.', 'Video %s has been removed from public access due to rightholder complaint.',
r'<!>Please log in or <': r'<!>Please log in or <':
'Video %s is only available for registered users, ' 'Video %s is only available for registered users, '
'use --username and --password options to provide account credentials.', 'use --username and --password options to provide account credentials.',
'<!>Unknown error':
'Video %s does not exist.' r'<!>Unknown error':
'Video %s does not exist.'
} }
for error_re, error_msg in ERRORS.items(): for error_re, error_msg in ERRORS.items():