[zerochan] expect 500 status codes during login (#8097 #8114)

continuation of 4303b3ba9d
This commit is contained in:
Mike Fährmann
2025-08-24 18:16:51 +02:00
parent ba5c080f0b
commit 3965f5d6a5
2 changed files with 3 additions and 2 deletions

View File

@@ -55,7 +55,8 @@ class ZerochanExtractor(BooruExtractor):
"login" : "Login",
}
response = self.request(url, method="POST", headers=headers, data=data)
response = self.request(
url, method="POST", headers=headers, data=data, expected=(500,))
if not response.history:
raise exception.AuthenticationError()