A simple script that scrapes public candidate data from the Minnesota Secretary of State's website and saves this data to a CSV.
- Install virtualenv and virtualenvwrapper
mkvirtualenv --python=python3 mn_candidate_scraperpip install -r requirements.txt
Copy example.env to .env and edit as needed. Optionally, you may specify the same environment variables in your shell.
If the required configuration is not available in .env or enviornment variables, the script will prompt you for them.
python script.py