[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()

View File

@@ -6,5 +6,5 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.30.5"
__version__ = "1.30.6-dev"
__variant__ = None