[simpcity] fix starting from a specific page (#8599)

with the default '"order-posts": "desc"'
This commit is contained in:
Mike Fährmann
2025-11-23 18:08:32 +01:00
parent f06772e56e
commit 8ae4c553d2

View File

@@ -102,7 +102,7 @@ class SimpcityExtractor(Extractor):
def _pagination_reverse(self, base, pnum=None):
base = f"{self.root}{base}"
url = f"{base}/page-9999" # force redirect to last page
url = f"{base}/page-{'9999' if pnum is None else pnum}"
with self.request_page(url) as response:
url = response.url
if url[-1] == "/":