https://github.com/pjaerr/get-premierleague-data
Quick and dirty web crawler script to get squad information from premier league clubs
https://github.com/pjaerr/get-premierleague-data
Last synced: 9 months ago
JSON representation
Quick and dirty web crawler script to get squad information from premier league clubs
- Host: GitHub
- URL: https://github.com/pjaerr/get-premierleague-data
- Owner: Pjaerr
- Created: 2019-09-05T15:07:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-07T18:54:18.000Z (almost 7 years ago)
- Last Synced: 2025-05-08T22:54:09.179Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# get-premierleague-data
A really quick and dirty nodejs script that takes two commands, the premier league club and the season from which it will web crawl to https://www.worldfootball.net/team_performance/leicester-city/eng-premier-league-2015-2016/ (where team name and season is replaced) and grab every player that has had atleast 1 appearance and will return something that looks like the following:
```
{
season: "2015/2016",
winner: "Leicester City",
players: [
{
name: "Marc Albrighton",
appearances: 38
},
{
name: "Wes Morgan",
appearances: 38
},
{
name: "Kasper Schmeichel",
appearances: 38
},
{
name: "N'Golo Kanté",
appearances: 37
},
{
name: "Riyad Mahrez",
appearances: 37
},
{
name: "Shinji Okazaki",
appearances: 36
},
{
name: "Jamie Vardy",
appearances: 36
},
...
]
}
```