Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
GravityTwin committed Jan 25, 2018
1 parent ad3e94e commit a6fc9cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.py
Expand Up @@ -13,7 +13,8 @@
# # Find something on the page using css selectors
root = lxml.html.fromstring(html)
print root
# root.cssselect("div[align='left']")
root.cssselect("div[align='left']")
selectthings = root.cssselect("div[align='left']")
#
# # 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 a6fc9cd

Please sign in to comment.