[furaffinity] fix 'favorite' pagination (#6151)
This commit is contained in:
@@ -179,6 +179,11 @@ class FuraffinityExtractor(Extractor):
|
|||||||
break
|
break
|
||||||
self._favorite_id = text.parse_int(extr('data-fav-id="', '"'))
|
self._favorite_id = text.parse_int(extr('data-fav-id="', '"'))
|
||||||
yield post_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="', '"')
|
path = text.extr(page, 'right" href="', '"')
|
||||||
|
|
||||||
def _pagination_search(self, query):
|
def _pagination_search(self, query):
|
||||||
|
|||||||
Reference in New Issue
Block a user