From 4861caadce54cbfd73bf65a25276056788cc9d29 Mon Sep 17 00:00:00 2001 From: Alper Alkan Date: Mon, 6 May 2024 14:36:08 +0200 Subject: [PATCH] fix naming in rawg object --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index bc84cc4..dba0703 100755 --- a/src/main.py +++ b/src/main.py @@ -70,7 +70,7 @@ def get_steam_game(app_id): "name": game_data["name"], "slug": game_data["name"].lower().replace(" ", "-"), "background_image": game_data.get("background", game_data.get("background_raw", game_data.get("screenshots", [])[0].get("path_full", game_data.get("header_image", "")))), - "box_art": f"https://steamcdn-a.akamaihd.net/steam/apps/{app_id}/library_600x900_2x.jpg", + "box_image": f"https://steamcdn-a.akamaihd.net/steam/apps/{app_id}/library_600x900_2x.jpg", "description_raw": clean_string(game_data.get("detailed_description", "")), "metacritic": game_data.get("metacritic", {}).get("score", None), "website": game_data.get("website", None),