From 4002369f267406d9bf23edfd0d13ff119af1865d Mon Sep 17 00:00:00 2001 From: Stephen Owen Date: Fri, 11 Oct 2019 15:38:46 -0400 Subject: [PATCH] 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 --- youtube_dl/extractor/vimeo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index ddf375c6c..286403824 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -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')