mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-27 11:05:54 +00:00
[ie/vimeo] Fix login error handling (#14280)
Closes #14279 Authored by: bashonly
This commit is contained in:
parent
a1c98226a4
commit
679587dac7
@ -151,7 +151,7 @@ class VimeoBaseInfoExtractor(InfoExtractor):
|
|||||||
'Referer': self._LOGIN_URL,
|
'Referer': self._LOGIN_URL,
|
||||||
})
|
})
|
||||||
except ExtractorError as e:
|
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(
|
raise ExtractorError(
|
||||||
'Unable to log in: bad username or password',
|
'Unable to log in: bad username or password',
|
||||||
expected=True)
|
expected=True)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user