From 56b61a429cf9b4212a2954f6bb1a7c8a6df3d657 Mon Sep 17 00:00:00 2001 From: francisbegbie <84503703+francisbegbie@users.noreply.github.com> Date: Fri, 13 Oct 2023 13:33:05 +0530 Subject: [PATCH 1/2] Update utils.py Changed 'Southampton' and 'Sou' to 'Sheffield United' and 'SHU' --- fpl/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fpl/utils.py b/fpl/utils.py index 330954e..242ad25 100644 --- a/fpl/utils.py +++ b/fpl/utils.py @@ -102,7 +102,7 @@ def team_converter(team_id): 14: "Man Utd", 15: "Newcastle", 16: "Nott'm Forest", - 17: "Southampton", + 17: "Sheffield United", 18: "Spurs", 19: "West Ham", 20: "Wolves", @@ -130,7 +130,7 @@ def short_name_converter(team_id): 14: "MUN", 15: "NEW", 16: "NFO", - 17: "SOU", + 17: "SHU", 18: "TOT", 19: "WHU", 20: "WOL", From b323a486579e759d496a9a578537664e58f7fad0 Mon Sep 17 00:00:00 2001 From: francisbegbie <84503703+francisbegbie@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:23:36 +0530 Subject: [PATCH 2/2] Update utils.py For season 2024-25 --- fpl/utils.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/fpl/utils.py b/fpl/utils.py index 242ad25..5c58932 100644 --- a/fpl/utils.py +++ b/fpl/utils.py @@ -91,18 +91,18 @@ def team_converter(team_id): 3: "Bournemouth", 4: "Brentford", 5: "Brighton", - 6: "Burnley", - 7: "Chelsea", - 8: "Crystal Palace", - 9: "Everton", - 10: "Fulham", - 11: "Liverpool", - 12: "Luton", + 6: "Chelsea", + 7: "Crystal Palace", + 8: "Everton", + 9: "Fulham", + 10: "Ipswich", + 11: "Leicester", + 12: "Liverpool", 13: "Man City", 14: "Man Utd", 15: "Newcastle", 16: "Nott'm Forest", - 17: "Sheffield United", + 17: "Southampton", 18: "Spurs", 19: "West Ham", 20: "Wolves", @@ -119,18 +119,18 @@ def short_name_converter(team_id): 3: "BOU", 4: "BRE", 5: "BHA", - 6: "BUR", - 7: "CHE", - 8: "CRY", - 9: "EVE", - 10: "FUL", - 11: "LIV", - 12: "LUT", + 6: "CHE", + 7: "CRY", + 8: "EVE", + 9: "FUL", + 10: "IPS", + 11: "LEI", + 12: "LIV", 13: "MCI", 14: "MUN", 15: "NEW", 16: "NFO", - 17: "SHU", + 17: "SOU", 18: "TOT", 19: "WHU", 20: "WOL",