- Requiremnts:
- Python
- Scrapy
- Git clone repo
- Cd to repo
- PlayerOfClub
scrapy crawl playerofclub -o playerofclub_2122.json
change compSeasons in URL in PlayerOfClub.py to id of other seasons and change command line to output playerofclub_xxyy.json [Please read seasonid to get id]
- Player
scrapy crawl playerofclub -o player_2122.json
change compSeasons in URL in PlayerOfClub.py to id of other seasons and change command line to output player_xxyy.json [Please read seasonid to get id]
- Ranking
scrapy crawl rank -o rank.json
This script run only 1 time to crawl ranking tables of all seasons.
- Stats for club in specific seasons
scrapy crawl clubstats -o clubstats_2021.json