An open API service indexing awesome lists of open source software.

https://github.com/mattdodge/mlb-player-scraper

Scrape players and statistics from various sources, then merge them together!
https://github.com/mattdodge/mlb-player-scraper

mlb mlb-gameday python scrapy

Last synced: over 1 year ago
JSON representation

Scrape players and statistics from various sources, then merge them together!

Awesome Lists containing this project

README

          

MLB-Player-Scraper
==================



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](http://scrapy.org/) for Python.

## Requirements
```
pip install scrapy unidecode
```

## How do I use the thing?
```
git clone https://github.com/mattdodge/MLB-Player-Scraper mlbScrape
cd mlbScrape
scrapy crawl -o output.csv -t csv
```

## Current Spiders
- **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)

## License
If you can get it to work, you can use it