summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/fapachi.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/fapachi.py')
-rw-r--r--gallery_dl/extractor/fapachi.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gallery_dl/extractor/fapachi.py b/gallery_dl/extractor/fapachi.py
index 6e81519..80478ca 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, '<a href="', '"')
- yield Message.Queue, url, data
+ path = text.extr(post, '<a href="', '"')
+ if path:
+ yield Message.Queue, self.root + path, data
if '">Next page</a>' not in page:
return