[chevereto] unescape continuation URLs

some instances respond with redirects when using these URLs as is
This commit is contained in:
Mike Fährmann
2026-01-15 21:26:54 +01:00
parent 589c90fc37
commit cc86592a32

View File

@@ -36,6 +36,7 @@ class CheveretoExtractor(BaseExtractor):
url = text.extr(page, 'data-pagination="next" href="', '"')
if not url:
return
url = text.unescape(url).replace("+", " ")
if url[0] == "/":
url = self.root + url
page = self.request(url).text