For fantasy leagues on NFL.com Fantasy Football, it might be helpful to be able to export your draft results to a spreadsheet.
For example, you might want to manage a keeper league where the prior year's draft position determines the keeper's draft round value.
This script uses beautifulsoup to scrape the public draft results page from the league and parse into a CSV file.
(Requires Python3)
- Clone this repo:
git clone https://github.com/rclegg/nfl_fantasy_draft_tocsv
- Run
pip install -r requirements.txt
- Open the config.py file and set your League ID Number and the year of the draft to return (if not current year)
- Run
python create_draft_results.py