Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
watty62 committed Oct 8, 2016
1 parent 17e1f70 commit 411bd2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scraper.py
Expand Up @@ -13,7 +13,9 @@

for el in root.cssselect("div.dtree a"):
print el


print el.attrib['href']

# # Write out to the sqlite database using scraperwiki library
# scraperwiki.sqlite.save(unique_keys=['name'], data={"name": "susan", "occupation": "software developer"})
#
Expand Down

0 comments on commit 411bd2e

Please sign in to comment.