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:
parent
b2fa149598
commit
917e873c63
@ -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 []
|
||||
|
Loading…
Reference in New Issue
Block a user