[idolcomplex] fix pagination (closes #1594)

This commit is contained in:
Mike Fährmann
2021-06-02 15:32:46 +02:00
parent f14a36cfc9
commit 78f89d2e61
3 changed files with 4 additions and 2 deletions

View File

@@ -190,7 +190,7 @@ class IdolcomplexTagExtractor(IdolcomplexExtractor):
return
yield from ids
next_qs = text.extract(page, 'next-page-url="/?', '"', pos)[0]
next_qs = text.extract(page, 'next-page-url="?', '"', pos)[0]
next_id = text.parse_query(next_qs).get("next")
# stop if the same "next" parameter occurs twice in a row (#265)