[exhentai] guess extension for original files (#2842)

makes it possible to sometimes, when guessed correctly ('.jpg'),
skip an original file download without costing image limit points
This commit is contained in:
Mike Fährmann
2022-09-14 16:06:27 +02:00
parent 551fdf7ad7
commit 464ea90d14

View File

@@ -219,7 +219,6 @@ class ExhentaiGalleryExtractor(ExhentaiExtractor):
if self.limits:
self._check_limits(data)
if "/fullimg.php" in url:
data["extension"] = ""
data["_http_validate"] = _validate_response
else:
data["_http_validate"] = None