[hentainexus] fix error for spread pages (#5827)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user