summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/hentainexus.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/hentainexus.py')
-rw-r--r--gallery_dl/extractor/hentainexus.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/gallery_dl/extractor/hentainexus.py b/gallery_dl/extractor/hentainexus.py
index 97b7844..286ee38 100644
--- a/gallery_dl/extractor/hentainexus.py
+++ b/gallery_dl/extractor/hentainexus.py
@@ -70,10 +70,13 @@ class HentainexusGalleryExtractor(GalleryExtractor):
for img in imgs:
img["_http_headers"] = headers
- return [
- (img["image"], img)
- for img in imgs
- ]
+ results = []
+ for img in imgs:
+ try:
+ results.append((img["image"], img))
+ except KeyError:
+ pass
+ return results
@staticmethod
def _decode(data):