Skip to content

Commit

Permalink
fix(sofifa): fix fifa version for read_teams
Browse files Browse the repository at this point in the history
The read_teams() function did not retrieve data for the requested FIFA version.
  • Loading branch information
probberechts committed Oct 30, 2024
1 parent 3130626 commit c205cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soccerdata/sofifa.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def read_teams(self) -> pd.DataFrame:
pd.DataFrame
"""
# build url
urlmask = SO_FIFA_API + "/teams?lg={}&r={}"
urlmask = SO_FIFA_API + "/teams?lg={}&r={}&set=true"
filemask = "teams_{}_{}.html"

# get league IDs
Expand Down

0 comments on commit c205cf6

Please sign in to comment.