From a3ef713829151d919ba009ae9483063532a2f6ea Mon Sep 17 00:00:00 2001 From: Nis Wechselberg Date: Wed, 10 Jan 2018 20:09:10 +0100 Subject: [PATCH] Adjusted api url and claim availability filter --- gogconnect-notify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gogconnect-notify.py b/gogconnect-notify.py index 37fa440..662acbb 100755 --- a/gogconnect-notify.py +++ b/gogconnect-notify.py @@ -48,7 +48,7 @@ opener = build_opener(cookieproc) # GOG URLs GOG_HOME_URL = r'https://www.gog.com' GOG_LOGIN_URL = r'https://login.gog.com/login_check' -GOG_API_URL = r'http://www.gog.com/api/v1/users/' +GOG_API_URL = r'https://www.gog.com/api/v1/users/' # HTTP request settings HTTP_RETRY_COUNT = 3 @@ -225,7 +225,7 @@ def cmd_check(): games_available = False if len(steam_products["items"]) > 0: for key, value in steam_products["items"].items(): - if value["status"] == "available": + if value["status"] == "available" or value["status"] == "readyToLink": games_available = True break