[common] detect empty HTTP response bodies

This commit is contained in:
Mike Fährmann
2017-09-25 13:01:10 +02:00
parent c51616f8d8
commit 9c138dfc1f
4 changed files with 10 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ class HentaifoundryUserExtractor(Extractor):
"filter_type": 0,
}
self.request("https://www.hentai-foundry.com/site/filters",
method="post", data=formdata)
method="post", data=formdata, allow_empty=True)
class HentaifoundryImageExtractor(Extractor):