mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 10:05:53 +03:00
[PR #505] [MERGED] Add support for scraping Sofascore #616
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#616
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?
📋 Pull Request Information
Original PR: https://github.com/probberechts/soccerdata/pull/505
Author: @ksbharaj
Created: 3/9/2024
Status: ✅ Merged
Merged: 4/15/2024
Merged by: @probberechts
Base:
master← Head:master📝 Commits (10+)
ec53161Sofascore added16946b5Merge branch 'probberechts:master' into master8d4969csofascore and commit added974492cMerge branch 'master' of https://github.com/ksbharaj/soccerdata0df2b71Update init.pyd859d1cMerge branch 'probberechts:master' into master0fcff8dSofascore updates 2264c113Merge branch 'master' of https://github.com/ksbharaj/soccerdata270f989Sofascore tests v1 added397b3c2Merge branch 'probberechts:master' into master📊 Changes
15 files changed (+812 additions, -5 deletions)
View changed files
📝
.github/labels.yml(+3 -0)📝
.pre-commit-config.yaml(+1 -1)📝
README.rst(+2 -1)➕
docs/datasources/Sofascore.ipynb(+456 -0)📝
docs/datasources/index.rst(+13 -0)📝
docs/howto/custom-leagues.rst(+7 -0)📝
docs/index.rst(+2 -1)📝
docs/reference/index.rst(+1 -0)➕
docs/reference/sofascore.rst(+8 -0)📝
soccerdata/__init__.py(+2 -0)📝
soccerdata/_common.py(+5 -2)📝
soccerdata/_config.py(+5 -0)➕
soccerdata/sofascore.py(+265 -0)📝
tests/conftest.py(+6 -0)➕
tests/test_Sofascore.py(+36 -0)📄 Description
Hi All.
I have included some code to scrape Sofascore.
It's fairly basic now, focussed only on the top 5 leagues. I can add more functions going forward.
Happy to get any feedback to help me improve it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.