Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlotteMaher committed Jul 17, 2019
1 parent e718545 commit 65a854d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scraper.py
Expand Up @@ -26,6 +26,9 @@
for companyaddress in address:
print companyaddress.text

#write out in ordered table
record = { "companyinfo" : companyinfo.text } # column name and value
scraperwiki.sqlite.save(["companyinfo"], record) # save the records one by one

#
# # Write out to the sqlite database using scraperwiki library
Expand Down

0 comments on commit 65a854d

Please sign in to comment.