aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/furaffinity.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2024-09-07 18:33:25 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2024-09-07 18:33:25 -0400
commit05335f2b4f60f6948edc96c71a7ef1c3ca71c9b3 (patch)
tree2c455afb2e2fcd51788500ce8a3455a1ef659b0e /gallery_dl/extractor/furaffinity.py
parentc45c7a86c313075d1fbd5803e7efdda680b27cd7 (diff)
parent1f3ffe32342852fd9ea9e7704022488f3a1222bd (diff)
Update upstream source from tag 'upstream/1.27.4'
Update to upstream version '1.27.4' with Debian dir 9c7b608ab0b9fa99a0cd692418a8f3965bf3d1c3
Diffstat (limited to 'gallery_dl/extractor/furaffinity.py')
-rw-r--r--gallery_dl/extractor/furaffinity.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gallery_dl/extractor/furaffinity.py b/gallery_dl/extractor/furaffinity.py
index 3055426..d253582 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</button>')
+ if pos >= 0:
+ path = text.rextract(page, '<form action="', '"', pos)[0]
+ continue
path = text.extr(page, 'right" href="', '"')
def _pagination_search(self, query):