Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmaloney committed Aug 31, 2019
1 parent 02e8d9b commit 4f8a20e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ def scrape_data():
p1 = names[0].text
p2 = names[1].text
buttons_having_odds = div.findAll('button')
p1_odds_frac = buttons_having_odds[0]["data-odds"]
p2_odds_frac = buttons_having_odds[1]["data-odds"]
p1_odds = p1_odds_frac
p2_odds = p2_odds_frac
p1_odds = buttons_having_odds[0]["data-odds"]
p2_odds = buttons_having_odds[1]["data-odds"]
f1.append(p1)
f2.append(p2)
f1_odds.append(p1_odds)
Expand Down

0 comments on commit 4f8a20e

Please sign in to comment.