diff options
Diffstat (limited to 'gallery_dl/extractor/kemonoparty.py')
| -rw-r--r-- | gallery_dl/extractor/kemonoparty.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/extractor/kemonoparty.py b/gallery_dl/extractor/kemonoparty.py index 3d04f75..16c5b99 100644 --- a/gallery_dl/extractor/kemonoparty.py +++ b/gallery_dl/extractor/kemonoparty.py @@ -552,7 +552,8 @@ class KemonoAPI(): return response.json() def _pagination(self, endpoint, params, batch=50, key=False): - params["o"] = text.parse_int(params.get("o")) % 50 + offset = text.parse_int(params.get("o")) + params["o"] = offset - offset % batch while True: data = self._call(endpoint, params) |
