aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/scrolller.py
diff options
context:
space:
mode:
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: