Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
seananaidu committed Feb 16, 2017
1 parent 1f40ce7 commit a15cb83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -18,7 +18,7 @@
xmldata = scraperwiki.pdftoxml(pdfdata)
root = lxml.etree.fromstring(xmldata)

print etree.tostring(root, pretty_print=True)
print lxml.etree.tostring(root, pretty_print=True)
# # 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 a15cb83

Please sign in to comment.