2013 Chicago Marathon Results
The scraper can also work with past years, not just 2013, but I have not tested it out.
The scraper was tested out on Python 2.7.x.
Using the scraper
First, clone the repository and
cd to the directory.
pip install -r requirements.txt
Then you can run the scraper with the following command: (Will save it to file called
python chicago_marathon_results_scraper.py 2013 -n 1000 > chicago_marathon_results.csv
To view the output as well, you can use
tee like so:
python chicago_marathon_results_scraper.py 2013 -n 1000 | tee chicago_marathon_results.csv
For other usage, use the
python chicago_marathon_results_scraper.py --help