[exhentai] fix 'limits' (#6090)

This commit is contained in:
Mike Fährmann
2024-08-31 10:23:07 +02:00
parent 510ca36b35
commit 8eaae29bf9

View File

@@ -430,7 +430,7 @@ class ExhentaiGalleryExtractor(ExhentaiExtractor):
}
page = self.request(url, cookies=cookies).text
current = text.extr(page, "<strong>", "</strong>")
current = text.extr(page, "<strong>", "</strong>").replace(",", "")
self.log.debug("Image Limits: %s/%s", current, self.limits)
self._remaining = self.limits - text.parse_int(current)