aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/zerochan.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/zerochan.py')
-rw-r--r--gallery_dl/extractor/zerochan.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/extractor/zerochan.py b/gallery_dl/extractor/zerochan.py
index fca8911..e1b4897 100644
--- a/gallery_dl/extractor/zerochan.py
+++ b/gallery_dl/extractor/zerochan.py
@@ -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()