Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Update scraper.py
  • Loading branch information
lucahammer committed Aug 13, 2016
1 parent 47422b2 commit b9a887f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scraper.py
Expand Up @@ -17,8 +17,9 @@
results = root.cssselect("td[colspan='2']")
#test = root.xpath('//tr/td[last()-1]')
for item in results:
#prntabl = item.encode('ascii', 'ignore')
print (item.text_content())
con = item.text_content()
prntabl = con.encode('ascii', 'ignore')
print (prntabl)

#
# # Write out to the sqlite database using scraperwiki library
Expand Down

0 comments on commit b9a887f

Please sign in to comment.