mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-23 15:25:48 +00:00
[ie/vimeo] Fix login error handling (#14280)
Closes #14279 Authored by: bashonly
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user