replace text.rextract() with rextr()

This commit is contained in:
Mike Fährmann
2025-05-23 18:28:58 +02:00
parent fe39b7d8c8
commit b81fc5c124
15 changed files with 23 additions and 25 deletions

View File

@@ -108,7 +108,7 @@ class AryionExtractor(Extractor):
pos = page.find("Next >>")
if pos < 0:
return
url = self.root + text.rextract(page, "href='", "'", pos)[0]
url = self.root + text.rextr(page, "href='", "'", pos)
def _parse_post(self, post_id):
url = "{}/g4/data.php?id={}".format(self.root, post_id)