Web Scraper for http://www.electionguide.org/elections/
The workflow of the script is simple and straightforward.
- Get's the datetime of the execution
- Check if there is a file with the same datetime execution
- If not create the file
- With request module we "open" the url and get all the results at once
- We get the json data
- Using argparse module we setting the parameters of what results we want
- We save to a csv file