From a4fb9e6d3388ae7984c15df9bed2a90bba0c5aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Mon, 30 Jun 2025 19:05:19 +0200 Subject: [PATCH] [furaffinity] fix 'submissions' results for new layout (#7759) --- gallery_dl/extractor/furaffinity.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gallery_dl/extractor/furaffinity.py b/gallery_dl/extractor/furaffinity.py index 2cf6d95b..8bcadb11 100644 --- a/gallery_dl/extractor/furaffinity.py +++ b/gallery_dl/extractor/furaffinity.py @@ -372,9 +372,9 @@ class FuraffinitySubmissionsExtractor(FuraffinityExtractor): for post_id in text.extract_iter(page, 'id="sid-', '"'): yield post_id - path = (text.extr(page, 'Next 48")) < 0 and \ + (pos := page.find(">>>> Next 48 >>")) < 0: return + + path = text.rextr(page, 'href="', '"', pos) url = self.root + text.unescape(path)