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 fbbbd59 commit 539afb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -66,7 +66,7 @@ def get_cell_value(element, css):
result = {
'event': int(raceinfo['codex']),
'rank': int(result_cell.cssselect("td")[0].text_content()),
'athlete': result_cell.cssselect("td")[1].text_content().replace(' ', '').encode('utf-8'),
'athlete': result_cell.cssselect("td")[1].text_content(),
'competitor_id': int(athlete_id),
'yob': int(result_cell.cssselect("td")[2].text_content()),
'nation': result_cell.cssselect("td")[3].text_content().replace(' ', '').encode('utf-8'),
Expand Down

0 comments on commit 539afb6

Please sign in to comment.