It's often useful to scrape and parse player projections from various sources (i.e. ESPN, Yahoo, Rotowire, etc). This tool hopes to facilitate that process.
The tool is built on top of the Scrapy Framework for Python.
pip install scrapy unidecode
git clone https://github.com/mattdodge/MLB-Player-Scraper mlbScrape
cd mlbScrape
scrapy crawl <spider-name> -o output.csv -t csv
- espnBatters2013
ESPN 2013 Batter Stats - espnPitchers2013
ESPN 2013 Pitcher Stats - espnBatters
ESPN 2014 Batter Projections - espnPitchers
ESPN 2014 Pitcher Projections - yahooBatters
Yahoo 2014 Batter Projections (requires Yahoo league ID, username/pass) - yahooPitchers
Yahoo 2014 Pitcher Projections (requires Yahoo league ID, username/pass)
If you can get it to work, you can use it