mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 10:05:53 +03:00
[GH-ISSUE #868] Unable to read Fotmob Schedule #186
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#186
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 @NLEHO04 on GitHub (Aug 17, 2025).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/868
I regularly use the Fotmob scraper and ran into this error for the first time yesterday saying there are no objects to concatenate. I tried turning off cache because it's a new season but that didn't do the trick, it is also an issue for fully completed seasons.
@francisbegbie commented on GitHub (Aug 20, 2025):
The issue is with the current season "2025/2026".
I get output when I run the following code.
import pandas as pd
import soccerdata as sd
fotmob = sd.FotMob(leagues='ENG-Premier League', seasons='2024/2025')
schedule = fotmob.read_schedule()
print(schedule.head())
@francisbegbie commented on GitHub (Aug 21, 2025):
I think somebody at FotMob realised the error and corrected the issue at source. I am able to download data for the current season.
@NLEHO04 Kindly check and close.
@NLEHO04 commented on GitHub (Aug 21, 2025):
The original error I had is still persistent. Have you done anything to the fotmob.py file?
@francisbegbie commented on GitHub (Aug 21, 2025):
No, I haven't made any change to fotmob.py or any other file from the repo.
I was getting the same error (with concat.py) while using the repo in VS Code. I was thinking of a workaround when it suddenly started to work today.
On 21 August 2025 8:31:46 pm IST, NLEHO04 @.***> wrote:
@NLEHO04 commented on GitHub (Aug 21, 2025):
I am still getting the unable to concatenate error for the following code:
fotmob = sd.FotMob(leagues='ENG-Premier League', seasons='2025/2026')
schedule = fotmob.read_schedule()
schedule
@francisbegbie commented on GitHub (Aug 22, 2025):
Working in VS Code. Check the attachment below.
Install fresh soccerdata in a separate environment. If that works, you know the issue is with the current installation.
@NLEHO04 commented on GitHub (Aug 22, 2025):
I uninstalled and reinstalled, still nothing. I'm on v 1.8.7 and using Jupyter Notebook
@francisbegbie commented on GitHub (Aug 23, 2025):
My suggestion is to download Sublime Text and run the few lines of code from my screenshot (note: make sure soccerdata, python, pandas, etc are installed locally and / or in the env).
If that works, the problem is with jupyter installation. You'd have to reinstall it. Backup settings and data before proceeding.
Wishing you success.
On 22 August 2025 8:58:33 pm IST, NLEHO04 @.***> wrote:
@probberechts commented on GitHub (Aug 23, 2025):
Both reading the schedule and league table work fine for me.
Did you already try to disable caching?
@NLEHO04 commented on GitHub (Aug 25, 2025):
I had previously and got an error. I just tried again and it seems to work. Thanks!