Adds a specific hint for which param to use with Vimeo vids
With Vimeo vids, we see lots of people raising issues trying to provide a -Password param, which is the wrong choice for the Vimeo domain for password protected videos. This patch adds a specific hint on the Vimeo wrong username/password scenario to mitigate this in the future, like #15980
This commit is contained in:
parent
c317b6163b
commit
4002369f26
@ -68,7 +68,7 @@ class VimeoBaseInfoExtractor(InfoExtractor):
|
|||||||
except ExtractorError as e:
|
except ExtractorError as e:
|
||||||
if isinstance(e.cause, compat_HTTPError) and e.cause.code == 418:
|
if isinstance(e.cause, compat_HTTPError) and e.cause.code == 418:
|
||||||
raise ExtractorError(
|
raise ExtractorError(
|
||||||
'Unable to log in: bad username or password',
|
'Unable to log in: bad username or password, use the --video-password option for password protected videos',
|
||||||
expected=True)
|
expected=True)
|
||||||
raise ExtractorError('Unable to log in')
|
raise ExtractorError('Unable to log in')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user