Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sicvermilion committed Aug 16, 2014
1 parent 4bb58f3 commit 68e0e7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scraper.py
Expand Up @@ -109,8 +109,7 @@ def crawl(self):
print >> sys.stderr, 'error: could not parse response'
sys.exit(1)

with codecs.open('listings.json', 'w', encoding='utf-8') as f:
json.dump(listings, f)
scraperwiki.sqlite.save(listings)

if __name__ == "__main__":
ab = AirbnbScraper()
Expand Down

0 comments on commit 68e0e7a

Please sign in to comment.