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

0 comments on commit ea2a5fb

Please sign in to comment.