From 770aec922df259212ea52003804d5e4fc752ec7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 16 Feb 2024 22:43:37 +0100 Subject: [PATCH] [fapachi] ignore empty entries --- gallery_dl/extractor/fapachi.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gallery_dl/extractor/fapachi.py b/gallery_dl/extractor/fapachi.py index 6e815193..80478caa 100644 --- a/gallery_dl/extractor/fapachi.py +++ b/gallery_dl/extractor/fapachi.py @@ -58,8 +58,9 @@ class FapachiUserExtractor(Extractor): page = self.request("{}/{}/page/{}".format( self.root, self.user, self.num)).text for post in text.extract_iter(page, 'model-media-prew">', ">"): - url = self.root + text.extr(post, 'Next page' not in page: return