codeforamerica / councilmatic

A subscription service for city council legislative information, started in Philadelphia.
http://councilmatic.org
58 stars 22 forks source link

Scraper read address should be specified in local_settings #35

Open fsargent opened 11 years ago

fsargent commented 11 years ago

councilmatic/phillyleg/management/scraper_wrappers/sources/scraperwiki_db.py 131: db_file = self.urlopen('http://scraperwiki.com/scrapers/export_sqlite/philadelphia_legislative_files/')

should read from local_settings instead.

mjumbewu commented 11 years ago

You're right: technically it should. In reality, though, the Scraperwiki loader for Councilmatic may have fallen into disrepair. I haven't used it for Philly in a long time. Instead of running manage.py loadlegfiles for new instances of Councilmatic I will always just run manage.py updatelegfiles, or import data from an existing instance of Councilmatic (either with a database dump or using manage.py dumpdata/loaddata).

I'm thinking the loadlegfiles (and thus the scraperwiki loader) should be retired, you're looking to depend on it.