From a2f7274eae3344162f8c2567653434bcb15f87a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 13 Apr 2023 15:39:15 +0200 Subject: [PATCH] [sexcom] fix pagination (#3906) --- gallery_dl/extractor/sexcom.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gallery_dl/extractor/sexcom.py b/gallery_dl/extractor/sexcom.py index 486bf921..f99df4dd 100644 --- a/gallery_dl/extractor/sexcom.py +++ b/gallery_dl/extractor/sexcom.py @@ -35,6 +35,7 @@ class SexcomExtractor(Extractor): def _pagination(self, url): while True: extr = text.extract_from(self.request(url).text) + url = extr('') - url = text.extr(pager, ' href="', '"') if not url: return - url = text.urljoin(self.root, url) + url = text.urljoin(self.root, text.unescape(url)) def _parse_pin(self, url): response = self.request(url, fatal=False)