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 057fcb6 commit 77cdae8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scraper.py
Expand Up @@ -30,12 +30,7 @@ def scrape_data():

# list to store url page of fighters
fighters = []

for name in names:
fighters.append(name['href'])

fighters = sorted(set(fighters))


for fighter in fighters:

h2 = soup.find("h2")
Expand Down

0 comments on commit 77cdae8

Please sign in to comment.