projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
380b822
)
[vk] PEP8
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 23 Nov 2014 21:14:27 +0000
(22:14 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 23 Nov 2014 21:14:27 +0000
(22:14 +0100)
youtube_dl/extractor/vk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vk.py
b/youtube_dl/extractor/vk.py
index d9acafd70b2fa9089e6d39ce808e2ec74c9fbe76..ca6b0d5b3369c53b7e06715ea5a56fd338d71e41 100644
(file)
--- a/
youtube_dl/extractor/vk.py
+++ b/
youtube_dl/extractor/vk.py
@@
-142,12
+142,14
@@
class VKIE(InfoExtractor):
ERRORS = {
r'>Видеозапись .*? была изъята из публичного доступа в связи с обращением правообладателя.<':
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 <':
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():
}
for error_re, error_msg in ERRORS.items():