We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8764f32 commit a4fb9e6Copy full SHA for a4fb9e6
gallery_dl/extractor/furaffinity.py
@@ -372,9 +372,9 @@ def _pagination_submissions(self, url):
372
for post_id in text.extract_iter(page, 'id="sid-', '"'):
373
yield post_id
374
375
- path = (text.extr(page, '<a class="button standard more" href="', '"') or # noqa 501
376
- text.extr(page, '<a class="more-half" href="', '"') or
377
- text.extr(page, '<a class="more" href="', '"'))
378
- if not path:
+ if (pos := page.find(">Next 48</a>")) < 0 and \
+ (pos := page.find(">>>> Next 48 >>")) < 0:
379
return
+
+ path = text.rextr(page, 'href="', '"', pos)
380
url = self.root + text.unescape(path)
0 commit comments