mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
[furaffinity] fix 'favorite' pagination (#6151)
This commit is contained in:
parent
7fe0f35998
commit
7260e236d8
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user