mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 18:15:58 +03:00
[GH-ISSUE #657] [FBRef] read_team_match_stats does not work #128
Labels
No labels
ESPN
FBref
FotMob
MatchHistory
SoFIFA
Sofascore
WhoScored
WhoScored
bug
build
common
dependencies
discussion
documentation
duplicate
enhancement
good first issue
invalid
performance
pull-request
question
question
removal
understat
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/soccerdata#128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ArsendiMattia on GitHub (Aug 2, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/657
If you do
it fails with the following error:
ValueError: not enough values to unpack (expected 1, got 0)My understanding is that it cannot retrieve any data for the Premier League. Conversely, the function works for Serie A or Ligue 1.
@ArsendiMattia commented on GitHub (Aug 2, 2024):
For the season 2022-23 works. It is probably a problem with FBref itself.
@ArsendiMattia commented on GitHub (Aug 3, 2024):
It turns out that if I add the following flag to the function, everything works fine! It still needs to be clarified to me, though.
fbref = sd.FBref(leagues='ENG-Premier League', seasons="2023-24", no_cache=True)