Scrapes the NYT Votes Remaining Page JSON and commits it back to this repo. The goal is to be able to view history and diffs of results.json
.
Outputted files:
- https://alex.github.io/nyt-2020-election-scraper/battleground-state-changes.html
- https://github.com/alex/nyt-2020-election-scraper/blob/master/battleground-state-changes.txt
Inspired by Simon Willison: https://simonwillison.net/2020/Oct/9/git-scraping/