- Scrapes entire fantasy league history from NFL.com. It exports all standings and games as CSV files in
./output - Aggregates standings into a single CSV file like this.
- Iterate through all games to find biggest blowouts and narrowest victories.
git clone https://github.com/PeteTheHeat/FF-Scraping- In
constants.py, update with your league ID and start/end years. - In
cookieString.py, update cookie string with an active NFL.com cookie. You can find this by inspecting a request in chrome dev tools (screenshot). python scrapeStandings.pywill scrape all standings.python aggregateStandings.pywill aggregate into 1 CSV.python scrapeGamecenter.pywill scrape all games.python analyzeGamecenter.pywill find biggest blowouts and narrowest margins of victory.
- If multiple team managers have the same name, their results will be aggregated together.
- The script assumes top half of the league makes playoffs.
Inspiration reddit thread here.