1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-21 18:22:30 +01:00

fix imagechest extractor

This commit is contained in:
Achim 2024-11-14 16:54:59 +01:00
parent b2fa149598
commit 917e873c63
No known key found for this signature in database
GPG Key ID: 1B2C9B73479BF0CD

View File

@ -73,10 +73,12 @@ class ImagechestGalleryExtractor(GalleryExtractor):
return metadata
def images(self, page):
page_data = self._retrieve_page_data(page)
try:
return [
(file["link"], None)
for file in self._retrieve_page_data(page)["props"]["post"]["files"]
for file in page_data["props"]["post"]["files"]
]
except Exception:
return []