mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 18:15:58 +03:00
[GH-ISSUE #797] [FotMob] Get the referee for upcoming matches #170
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#170
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 @richard-senior on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/797
Is your feature request related to a problem? Please describe.
It's not a problem per se...
fotmob.read_schedule() does not seem to return the name of the referee where it is available
See this: https://www.fotmob.com/en-GB/matches/afc-bournemouth-vs-nottingham-forest/2y4tjb#4506603
At the top of the page you can see the referee is (was) Craig Pawson
It is possible to scrape this from the matches page by getting the NEXT_DATA json element from the html response
So I think it should be available from the matches API.. not that I can access that anymore.
If you could have a look that would be great..
According to scikit-learn randomforrest.. Referee has some 8% bearing on match outcome :)
Describe the solution you'd like
fotmob.read_schedule() should return referee name where it is available..
Thanks for reading this..
richard.senior@gmail.com
@probberechts commented on GitHub (Jan 23, 2025):
This is the JSON of the Bournemouth - Nottingham Forest game: matchDetails.json. It indeed includes the referee. Would this allow you to implement it?
@richard-senior commented on GitHub (Jan 29, 2025):
PS
You can get historical referee data from footballdata.co.uk for UK matches.
This allows you to train estimators using referee.
And then for upcoming matches you can predict where you have referee.
@richard-senior commented on GitHub (Jan 29, 2025):
Yes.. I am currently screenscraping fotmob myself, but I would much rather re-use your work!