aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/scrolller.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-08-16 07:00:40 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-08-16 07:00:40 -0400
commit22e8d9823eb9fb802c926fb03a5fdccbea26f878 (patch)
treed399937a3bf139d386b8f5df2fc646b751c14719 /gallery_dl/extractor/scrolller.py
parent0839cde5064bd6000162ee23b8445b99afe10068 (diff)
parent3d18761f620a294ea6c5bff13c5994b93b29f3ed (diff)
Update upstream source from tag 'upstream/1.30.3'
Update to upstream version '1.30.3' with Debian dir cbd3490f51b0ee3f2e172965318cd079b856367d
Diffstat (limited to 'gallery_dl/extractor/scrolller.py')
-rw-r--r--gallery_dl/extractor/scrolller.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/scrolller.py b/gallery_dl/extractor/scrolller.py
index 40f047a..ff191db 100644
--- a/gallery_dl/extractor/scrolller.py
+++ b/gallery_dl/extractor/scrolller.py
@@ -20,7 +20,7 @@ class ScrolllerExtractor(Extractor):
category = "scrolller"
root = "https://scrolller.com"
directory_fmt = ("{category}", "{subredditTitle}")
- filename_fmt = "{id}{num:?_//>03}{title:? //}.{extension}"
+ filename_fmt = "{id}{num:?_//>03}{title:? //[:230]}.{extension}"
archive_fmt = "{id}_{num}"
request_interval = (0.5, 1.5)
@@ -115,7 +115,7 @@ class ScrolllerExtractor(Extractor):
)["data"]
def _pagination(self, opname, variables, data=None):
- if data is None:
+ if data is None or not data.get("items"):
data = self._request_graphql(opname, variables)
while True: