[ie/vimeo] Fix login error handling (#14280)

Closes #14279
Authored by: bashonly
This commit is contained in:
bashonly
2025-09-10 13:39:07 -05:00
committed by GitHub
parent a1c98226a4
commit 679587dac7

View File

@@ -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)