mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-26 10:35:53 +03:00
[GH-ISSUE #166] [FBRef] - Custom League not loading. #40
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#40
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 @OnlineAnalytics on GitHub (Feb 21, 2023).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/166
The above is my custom league json.
I'm having issues reading anything from FBRef though in regards to
Liga F. Liga F looks to be fully supported, all the stats, schedule etc. But I get an error sayingNo objects to concentate, when using the code;@probberechts commented on GitHub (Feb 21, 2023):
Did you check these three points: https://github.com/probberechts/soccerdata/issues/104#issuecomment-1327333924?
@OnlineAnalytics commented on GitHub (Feb 21, 2023):
Yes, I checked the points -

and it's available in the leagues
and I also reloaded the sd module too.
@probberechts commented on GitHub (Feb 21, 2023):
I've literally copy-pasted your code and it works fine. Maybe try
fbref = sd.FBref(leagues=['ESP-Liga F'], no_cache=True).@OnlineAnalytics commented on GitHub (Feb 21, 2023):
Strange. I'm running the exact code you are, and receiving the same error. Tried it with tor incase that was the issue and I had
error.
I'm going to try it in VSCode instead of Jupyter lab and see if that changes.
Edit: Same issue in VSCode too.
@OnlineAnalytics commented on GitHub (Feb 21, 2023):
Other leagues work for me, like ESP-La Liga. just seems to be ESP-Liga F I'm struggling with.
@OnlineAnalytics commented on GitHub (Feb 21, 2023):
Restarted my Laptop and it worked! Totally random that. Thanks for your help.