Python script to scrape and log Colorado oil & gas spills. Includes a database of spills.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Spill Report

A Python script to scrape oil & gas spill data in Colorado from COGCC.

To install, simply download and run This will add anything that isn't already in the database and perform an optional action (I'm using it to tweet spills at @SpillReport).


Spill Report relies on several Python libraries to get the data:

BeautifulSoup4 requests sqlite3


Make sure spillLog.db exists in \data if not, create it by running sqlite3 spillLog.db < create.sql

Test that bs4 and requests are installed by running:

$ python
$ > import bs4
$ > import requests

If there are no import errors you're good to go and just need to run python