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 4d6ceac commit 5596d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.py
Expand Up @@ -70,8 +70,8 @@ def get_cell_value(element, css):
'competitor_id': int(athlete_id),
'yob': int(result_cell.cssselect("td")[2].text_content()),
'nation': result_cell.cssselect("td")[3].text_content().encode('utf-8'),
'time': result_cell.cssselect("td")[4].text_content().encode('utf-8'),
'behind': result_cell.cssselect("td")[5].text_content().encode('utf-8'),
#'time': result_cell.cssselect("td")[4].text_content().encode('utf-8'),
#'behind': result_cell.cssselect("td")[5].text_content().encode('utf-8'),
'points': float(result_cell.cssselect("td")[6].text_content())
}
print result
Expand Down

0 comments on commit 5596d8b

Please sign in to comment.