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 823821a commit a40ab81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -32,7 +32,7 @@ def race_link_results(url):
for element, attribute, link, pos in result_div.iterlinks():
event_page = scraperwiki.scrape(link)
event_root = lxml.html.fromstring(event_page)
event_rows = event_root.cssselect("table.fisfootable tbody tr")
event_rows = event_root.cssselect("table.footable tbody tr")
for event_row in event_rows:
last_cell = event_row.cssselect("td:last-child")[0]
for race_links in last_cell.iterlinks():
Expand Down

0 comments on commit a40ab81

Please sign in to comment.