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:
Stephen Owen 2019-10-11 15:38:46 -04:00 committed by GitHub
parent c317b6163b
commit 4002369f26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ class VimeoBaseInfoExtractor(InfoExtractor):
except ExtractorError as e:
if isinstance(e.cause, compat_HTTPError) and e.cause.code == 418:
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)
raise ExtractorError('Unable to log in')