From 58d10805eab9904c09d45f12ec81705d7841f774 Mon Sep 17 00:00:00 2001 From: Peter Taylor Date: Thu, 5 May 2022 15:31:55 +0100 Subject: [PATCH] issue on the list of args being passed --- itchiodl/library.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/itchiodl/library.py b/itchiodl/library.py index d2563c8..452a3bf 100644 --- a/itchiodl/library.py +++ b/itchiodl/library.py @@ -43,7 +43,8 @@ class Library: f"https://{publisher}.itch.io/{title}/data.json", headers={"Authorization": self.login}, ) - self.games.append(Game(publisher, title)) + j = json.loads(r.text) + self.games.append(Game(j["id"])) def load_games(self, publisher): """Load all games by publisher"""