diff options
author | aszlig <aszlig@nix.build> | 2018-05-19 02:40:31 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-05-19 02:40:31 +0200 |
commit | 614a669a1e1c5bbeebad2705d5f79fe9439ef34f (patch) | |
tree | 41241b2f34038b330fd4c8bad674eb3e718dbe14 /pkgs/games/gog/fetch-gog | |
parent | 89625e825dd4ad4ac78c98f443f6731042d75487 (diff) |
pkgs/fetch-gog: List more download types
So far we only showed the main installer packages that are available for a certain game. However there are other things such as downloadable content and related products that we might be interested in. I needed this mainly because the Stardew Valley beta download is listed as bonus content. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games/gog/fetch-gog')
-rw-r--r-- | pkgs/games/gog/fetch-gog/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/gog/fetch-gog/default.nix b/pkgs/games/gog/fetch-gog/default.nix index e16f9e87..b49f0dab 100644 --- a/pkgs/games/gog/fetch-gog/default.nix +++ b/pkgs/games/gog/fetch-gog/default.nix @@ -237,7 +237,7 @@ let def list_downloads(self): url = "https://api.gog.com/products/" + self.product_id \ - + "?expand=downloads" + + "?expand=downloads,expanded_dlcs,related_products" downloads = self.request(url)['downloads'] table = [] for dtype, dloads in downloads.items(): |