From 614a669a1e1c5bbeebad2705d5f79fe9439ef34f Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 19 May 2018 02:40:31 +0200 Subject: 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 --- pkgs/games/gog/fetch-gog/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/games') 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(): -- cgit 1.4.1