markratledge/whitehousescraper — pull request #1 by pallih (2012-11-28 18:55:38+00:00)
Title: whitehouse-petitions.py scraper

Python command line program that fetches a url from
petitions.whitehouse.gov/petitions and saves signatures to a .csv file

.csv has the following columns: 'name', 'location', 'date', 'nr'

Run from the command line it takes 2 arguments: -f FILENAME TO SAVE and -u URL OF PETITION

Requires these python modules:

requests
lxml.html
sys
csv
optparse