From 5b897139fcc324ccae3596bf4d3dccfc601e6118 Mon Sep 17 00:00:00 2001 From: Ulysses Zhan Date: Tue, 31 Mar 2026 20:32:56 -0700 Subject: [PATCH] fetchItchIo: fix zero price games --- pkgs/build-support/fetchitchio/fetchitchio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/fetchitchio/fetchitchio.py b/pkgs/build-support/fetchitchio/fetchitchio.py index 4d1132c4fe7f..0b7ffa3b6333 100644 --- a/pkgs/build-support/fetchitchio/fetchitchio.py +++ b/pkgs/build-support/fetchitchio/fetchitchio.py @@ -39,7 +39,7 @@ def urlopen(url_or_request): with urlopen(f'{GAME_URL}/data.json') as response: data = json.load(response) GAME_ID = data['id'] - IS_FREE = 'price' not in data + IS_FREE = 'price' not in data or data['price'] == '$0.00' def api(path, params={}, download=False): url = f'{ENDPOINT}{path}?{urllib.parse.urlencode({'api_key': API_KEY, **params})}'