Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 818 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 818 Bytes

Minnesota Candidate Scraper

CircleCI

A simple script that scrapes public candidate data from the Minnesota Secretary of State's website and saves this data to a CSV.

Install

  1. Install virtualenv and virtualenvwrapper
  2. mkvirtualenv --python=python3 mn_candidate_scraper
  3. pip install -r requirements.txt

Configuration

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.

Run

python script.py