Skip to content

Commit

Permalink
fix naming in rawg object
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfagun74 committed May 6, 2024
1 parent 84a790e commit 4861caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 4861caa

Please sign in to comment.