1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2025-01-31 19:51:34 +01:00

[steamgriddb] implement another suggestion

This commit is contained in:
blankie 2024-01-13 10:12:15 +11:00
parent 8995fd5f01
commit 65f42442f5
No known key found for this signature in database
GPG Key ID: CC15FC822C7F61F5

View File

@ -56,9 +56,10 @@ class SteamgriddbExtractor(Extractor):
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