This Python script lets you scrape soccer players and teams data from a public website.
- Serie A (Italy)
- Premier League (England)
- LaLiga (Spain)
- Bundesliga (Germany)
- Ligue 1 (France)
The script creates three .xlsx/.csv files:
- players.xlsx
displayName | fullName | nation | birthDate | link |
---|
- teams.xlsx
teamId | teamName | leagueName |
---|
- players_teams.xlsx
fullName | birthDate | teamId |
---|
We have imported threading
package to handle parallel execution: teams in a league are processed simultaneously.
Data are temporarily stored in global variables thanks to Thread locks.
Contributions are always welcome! Please create a PR.
This project is licensed under MIT license.