[sankaku] increase wait time on 429 errors (#7129)

to 10 minutes
This commit is contained in:
Mike Fährmann
2025-03-07 20:19:17 +01:00
parent 3ef23cc99b
commit 7afd5bae03

View File

@@ -244,7 +244,7 @@ class SankakuAPI():
if not until and b"_tags-explicit-limit" in response.content:
raise exception.AuthorizationError(
"Search tag limit exceeded")
seconds = None if until else 60
seconds = None if until else 600
self.extractor.wait(until=until, seconds=seconds)
continue