alex/nyt-2020-election-scraper
HTMLalex.github.io/nyt-2020-election-scraper/battleground-state-changes.htmlgit-scraping
Métricas principais
Crescimento de estrelas
Estrelas
1.8k
Forks
287
Crescimento semanal
+0
Issues
6
1.7k1.8k
nov. de 2020out. de 2021out. de 2022out. de 2023out. de 2024out. de 2025out. de 2026
README
NYT Vote Scraper
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
- https://alex.github.io/nyt-2020-election-scraper/battleground-state-changes.csv
- https://alex.github.io/nyt-2020-election-scraper/battleground-state-changes.xml
Inspired By
Simon Willison: https://simonwillison.net/2020/Oct/9/git-scraping/
Development
Dependencies
- Python 3 is required
pip install -r requirements.txt
Contributions are welcome, but please make sure you read and fill out the the pull request template when submitting your changes. We would also appreciate it if you could read the short contributing guide.
Please do not modify any of the static files (html, csv, txt, or xml). These files are dynamically generated.
To Support The Creators
We'd rather any money go to a good cause. Send any donations instead to https://voting.works!