Skip to content

Commit

Permalink
fix imagechest extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
4ch1m committed Nov 14, 2024
1 parent b2fa149 commit 917e873
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gallery_dl/extractor/imagechest.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,12 @@ def metadata(self, page):
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 []
Expand Down

0 comments on commit 917e873

Please sign in to comment.