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!
- Host: GitHub
- URL: https://github.com/mattdodge/mlb-player-scraper
- Owner: mattdodge
- Created: 2014-03-10T01:52:17.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-03-10T00:00:54.000Z (about 10 years ago)
- Last Synced: 2025-01-08T07:17:46.327Z (over 1 year ago)
- Topics: mlb, mlb-gameday, python, scrapy
- Language: Python
- Size: 252 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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