summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/twibooru.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-07-15 17:08:47 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-07-15 17:08:47 -0400
commite2f67519f8c1750a71aab3dc56b8345fff21bac5 (patch)
tree26770e9b79821f2fa10ed3b07a4669f857db8071 /gallery_dl/extractor/twibooru.py
parentef30b1fa552fd4ceebdd14bbcc16f30f430883f8 (diff)
New upstream version 1.25.8.upstream/1.25.8
Diffstat (limited to 'gallery_dl/extractor/twibooru.py')
-rw-r--r--gallery_dl/extractor/twibooru.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gallery_dl/extractor/twibooru.py b/gallery_dl/extractor/twibooru.py
index 30bf2f1..a8acd31 100644
--- a/gallery_dl/extractor/twibooru.py
+++ b/gallery_dl/extractor/twibooru.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Mike Fährmann
+# Copyright 2022-2023 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -22,6 +22,7 @@ class TwibooruExtractor(BooruExtractor):
filename_fmt = "{id}_{filename}.{extension}"
archive_fmt = "{id}"
request_interval = 6.05
+ page_start = 1
per_page = 50
root = "https://twibooru.org"
@@ -230,7 +231,7 @@ class TwibooruAPI():
elif not api_key:
params["filter_id"] = "2"
- params["page"] = 1
+ params["page"] = extr.page_start
params["per_page"] = per_page = extr.per_page
while True: