Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGL committed Jan 26, 2018
1 parent dd13fed commit 8c1b869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -37,7 +37,7 @@
ages = root.cssselect("tr")
print ages
for age in ages:
div = tr.text_content().encode('ascii','ignore')
div = age.text_content().encode('ascii','ignore')
if "years" in div:
print age.text.encode('ascii', 'ignore')
print age.attrib['href']
Expand Down

0 comments on commit 8c1b869

Please sign in to comment.