[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:
@@ -219,7 +219,6 @@ class ExhentaiGalleryExtractor(ExhentaiExtractor):
|
|||||||
if self.limits:
|
if self.limits:
|
||||||
self._check_limits(data)
|
self._check_limits(data)
|
||||||
if "/fullimg.php" in url:
|
if "/fullimg.php" in url:
|
||||||
data["extension"] = ""
|
|
||||||
data["_http_validate"] = _validate_response
|
data["_http_validate"] = _validate_response
|
||||||
else:
|
else:
|
||||||
data["_http_validate"] = None
|
data["_http_validate"] = None
|
||||||
|
|||||||
Reference in New Issue
Block a user