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 5be599f commit 2c4c77e
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 @@ -20,7 +20,7 @@
listofmatches=root.cssselect('a')
for match in listofmatches:
print(match)
print(lxml.html.tostring(match)
print(lxml.html.tostring(match)
# # 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 2c4c77e

Please sign in to comment.