Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RWilletts92 committed Feb 19, 2019
1 parent 1ad4c0d commit 1a7dd85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# # divalign left is looking for a match. we wont see the results unless we add a list
# # the printed lists always produce a list either though there are matches
root = lxml.html.fromstring(html)
print(root.cssselect("a"))
print(root.cssselect("div#footer"))
# # div is a HTML tag, a is the tag a for anchor, href is an attribute they have values, align is attribute
# # 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 1a7dd85

Please sign in to comment.