[danbooru][e621] use lower 'threshold' value by default (#6886)

fixes tag searches ending prematurely when a few posts are missing
This commit is contained in:
Mike Fährmann
2025-01-27 20:41:24 +01:00
parent d110dfd2da
commit fe815b9226

View File

@@ -32,7 +32,7 @@ class DanbooruExtractor(BaseExtractor):
if isinstance(threshold, int):
self.threshold = 1 if threshold < 1 else threshold
else:
self.threshold = self.per_page
self.threshold = self.per_page - 20
username, api_key = self._get_auth_info()
if username: