Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikeikaas committed Oct 25, 2018
1 parent f9fa343 commit 18d21c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scraper.py
Expand Up @@ -57,7 +57,6 @@ def get_cell_value(element, css):
result_table = root.cssselect("table.footable")[1]
result_cells = result_table.cssselect("tr")
for result_cell in result_cells:
print result_cell.text_content()
if len(result_cell.cssselect("td")) > 2:
athlete = result_cell.cssselect("td")[1]
print athlete.text_content()
Expand Down

0 comments on commit 18d21c5

Please sign in to comment.