aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-23 22:14:27 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-23 22:14:27 +0100
commit3d36cea4aca303f6bde5b5453f4e3aeec8ee41e1 (patch)
tree0cf4dbd05e8ddb831c454524743574abfc2a494a /youtube_dl
parent380b8220038d69c701cbaba04d1b049628d237b4 (diff)
[vk] PEP8
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/vk.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py
index d9acafd70..ca6b0d5b3 100644
--- a/youtube_dl/extractor/vk.py
+++ b/youtube_dl/extractor/vk.py
@@ -142,12 +142,14 @@ class VKIE(InfoExtractor):
ERRORS = {
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 <':
- 'Video %s is only available for registered users, '
- 'use --username and --password options to provide account credentials.',
- '<!>Unknown error':
- 'Video %s does not exist.'
+ 'Video %s is only available for registered users, '
+ 'use --username and --password options to provide account credentials.',
+
+ r'<!>Unknown error':
+ 'Video %s does not exist.'
}
for error_re, error_msg in ERRORS.items():