Simple web scraper built to crawl through Major League Soccer statistics available from mlssoccer.com and write to text files for analysis.
Copy mlsstatsscraper.py
to preferred directory and update OUTPUT_DIR
parameter to the location you want the text files written.
To run: python mlsstatsscraper.py
requests
BeautifulSoup
pandas
- Allow user to specify initialized values.
- Scrape player profiles for features like age, birthplace, nationality, etc.