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 12, 2019
1 parent 1573487 commit 6e56e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -42,7 +42,7 @@ def scrape_data():
rows = soup.find('table', {"class": "b-fight-details__table b-fight-details__table_style_margin-top b-fight-details__table_type_event-details js-fight-table"})

for row in rows:
data = requests.get()rows
data = requests.get(rows)
soup = BeautifulSoup(data.text, 'html.parser')

fighters = row.find_all('a', {"href": re.compile("http://ufcstats.com/fighter-details")})
Expand Down

0 comments on commit 6e56e1b

Please sign in to comment.