From 7260e236d8a57f1de4e348d603d940c2c7e0433e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 6 Sep 2024 08:52:05 +0200 Subject: [PATCH] [furaffinity] fix 'favorite' pagination (#6151) --- gallery_dl/extractor/furaffinity.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gallery_dl/extractor/furaffinity.py b/gallery_dl/extractor/furaffinity.py index 3055426c..d2535829 100644 --- a/gallery_dl/extractor/furaffinity.py +++ b/gallery_dl/extractor/furaffinity.py @@ -179,6 +179,11 @@ class FuraffinityExtractor(Extractor): break self._favorite_id = text.parse_int(extr('data-fav-id="', '"')) yield post_id + + pos = page.find('type="submit">Next') + if pos >= 0: + path = text.rextract(page, '