Adjusted api url and claim availability filter

This commit is contained in:
Nis Wechselberg 2018-01-10 20:09:10 +01:00
parent 1c49f0d699
commit a3ef713829

View file

@ -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