sintamar commited on
Commit
fd9b833
·
verified ·
1 Parent(s): e6d104f

Update extract.py

Browse files
Files changed (1) hide show
  1. extract.py +1 -1
extract.py CHANGED
@@ -23,7 +23,7 @@ def take_webdata(url):
23
  soup = BeautifulSoup(html, "html.parser")
24
  #div_find = soup.find("div", id="tournament-table", class_="tournament-table-standings")
25
  #table_find = div_find.find("table") if div_find else None
26
- tournament_div = soup.find("div", class_="ui-table__row ")
27
  data = []
28
  for row in rows:
29
  rank = row.select_one(".tableCellRank")
 
23
  soup = BeautifulSoup(html, "html.parser")
24
  #div_find = soup.find("div", id="tournament-table", class_="tournament-table-standings")
25
  #table_find = div_find.find("table") if div_find else None
26
+ rows = soup.find("div", class_="ui-table__row ")
27
  data = []
28
  for row in rows:
29
  rank = row.select_one(".tableCellRank")