Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrobenito committed May 7, 2017
1 parent 4638247 commit 4b2b085
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scraper.py
Expand Up @@ -10,6 +10,10 @@
# # Find something on the page using css selectors
root = lxml.html.fromstring(html)
root.cssselect("span[property='name']")

for i in root:
print i

#
# # 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 4b2b085

Please sign in to comment.