Skip to content

A script to scrape public candidate data from the Minnesota Secretary of State's website

License

Notifications You must be signed in to change notification settings

OpenTwinCities/mn_candidate_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A script to scrape public candidate data from the Minnesota Secretary of State's website

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages