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:
parent
8995fd5f01
commit
65f42442f5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user