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 e578eda commit 6155b0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scraper.py
Expand Up @@ -27,6 +27,8 @@ def race_link_results(url):
root = lxml.html.fromstring(html)
result_table = root.cssselect("table.fisfootable")[0]
status_cells = result_table.cssselect("td.status")

print html
for status_cell in status_cells:
result_div = status_cell.cssselect("div")[1]
for element, attribute, link, pos in result_div.iterlinks():
Expand Down

0 comments on commit 6155b0d

Please sign in to comment.