Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scraper read address should be specified in local_settings #35

Open
fsargent opened this issue Jun 4, 2013 · 1 comment
Open

Scraper read address should be specified in local_settings #35

fsargent opened this issue Jun 4, 2013 · 1 comment

Comments

@fsargent
Copy link

fsargent commented Jun 4, 2013

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants