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 6e56e1b commit 22a1d7f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scraper.py
Expand Up @@ -25,8 +25,6 @@ def scrape_data():

for link in links:
all_links.append(link.get('href'))

for link in all_links:
print(f"Now currently scraping link: {link}")

data = requests.get(link)
Expand All @@ -40,8 +38,11 @@ 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"})


rows = sorted(set(rows)

for row in rows:

data = requests.get(rows)
soup = BeautifulSoup(data.text, 'html.parser')

Expand Down

0 comments on commit 22a1d7f

Please sign in to comment.