Adjusted api url and claim availability filter
This commit is contained in:
parent
1c49f0d699
commit
a3ef713829
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ opener = build_opener(cookieproc)
|
||||||
# GOG URLs
|
# GOG URLs
|
||||||
GOG_HOME_URL = r'https://www.gog.com'
|
GOG_HOME_URL = r'https://www.gog.com'
|
||||||
GOG_LOGIN_URL = r'https://login.gog.com/login_check'
|
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 request settings
|
||||||
HTTP_RETRY_COUNT = 3
|
HTTP_RETRY_COUNT = 3
|
||||||
|
@ -225,7 +225,7 @@ def cmd_check():
|
||||||
games_available = False
|
games_available = False
|
||||||
if len(steam_products["items"]) > 0:
|
if len(steam_products["items"]) > 0:
|
||||||
for key, value in steam_products["items"].items():
|
for key, value in steam_products["items"].items():
|
||||||
if value["status"] == "available":
|
if value["status"] == "available" or value["status"] == "readyToLink":
|
||||||
games_available = True
|
games_available = True
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue