Skip to content

Commit

Permalink
[steamgriddb] implement another suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
the-blank-x committed Jan 12, 2024
1 parent 8995fd5 commit 65f4244
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gallery_dl/extractor/steamgriddb.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ def items(self):
download_fake_png = self.config("download-fake-png", True)

for asset in self.assets():
urls = (asset["url"],)
if download_fake_png and asset.get("fake_png"):
urls = (asset["url"], asset["fake_png"])
else:
urls = (asset["url"],)

asset["count"] = len(urls)
yield Message.Directory, asset
Expand Down

0 comments on commit 65f4244

Please sign in to comment.