[PR #505] [MERGED] Add support for scraping Sofascore #616

Closed
opened 2026-03-02 15:58:46 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: master


📝 Commits (10+)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/probberechts/soccerdata/pull/505 **Author:** [@ksbharaj](https://github.com/ksbharaj) **Created:** 3/9/2024 **Status:** ✅ Merged **Merged:** 4/15/2024 **Merged by:** [@probberechts](https://github.com/probberechts) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`ec53161`](https://github.com/probberechts/soccerdata/commit/ec53161b8e4aa668a965eb469368d9545bd8c78c) Sofascore added - [`16946b5`](https://github.com/probberechts/soccerdata/commit/16946b507632062b9584dd99ecd5025293184303) Merge branch 'probberechts:master' into master - [`8d4969c`](https://github.com/probberechts/soccerdata/commit/8d4969c2baa4e4a05c7c3d2eb81da028fc482aba) sofascore and commit added - [`974492c`](https://github.com/probberechts/soccerdata/commit/974492cc5e37f6d74e332053ed1f6166f1bf97f2) Merge branch 'master' of https://github.com/ksbharaj/soccerdata - [`0df2b71`](https://github.com/probberechts/soccerdata/commit/0df2b716dd15e9013217879cd5ced4264fcfa320) Update __init__.py - [`d859d1c`](https://github.com/probberechts/soccerdata/commit/d859d1ca89b60dd4a939fac2423981261c64da8e) Merge branch 'probberechts:master' into master - [`0fcff8d`](https://github.com/probberechts/soccerdata/commit/0fcff8d23299092c8503dd277cee2969a032d7ab) Sofascore updates 2 - [`264c113`](https://github.com/probberechts/soccerdata/commit/264c113bd9075bcb18fbea680499897544025df5) Merge branch 'master' of https://github.com/ksbharaj/soccerdata - [`270f989`](https://github.com/probberechts/soccerdata/commit/270f989155705ac8debb2645523403441527994f) Sofascore tests v1 added - [`397b3c2`](https://github.com/probberechts/soccerdata/commit/397b3c2910ce21a0d05c22d411ef014c9c39af68) Merge branch 'probberechts:master' into master ### 📊 Changes **15 files changed** (+812 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `.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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 15:58:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#616
No description provided.