A feature-rich command-line audio/video downloader
[ie/vimeo] Fix login error handling (#14280)
bashonly679587dac7cd
diff --git a/yt_dlp/extractor/vimeo.py b/yt_dlp/extractor/vimeo.pyindex ce3f441be7..67cda74292 100644--- a/yt_dlp/extractor/vimeo.py+++ b/yt_dlp/extractor/vimeo.py@@ -151,7 +151,7 @@ class VimeoBaseInfoExtractor(InfoExtractor):'Referer': self._LOGIN_URL,})except ExtractorError as e:- if isinstance(e.cause, HTTPError) and e.cause.status in (405, 418):+ if isinstance(e.cause, HTTPError) and e.cause.status in (404, 405, 418):raise ExtractorError('Unable to log in: bad username or password',expected=True)