sintamar commited on
Commit
92c2e4d
·
verified ·
1 Parent(s): 31bbe73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -62,7 +62,8 @@ def take_webdata(url):
62
  html = wd.execute_script("return document.documentElement.outerHTML;")
63
  soup = BeautifulSoup(html, "html.parser")
64
  div_find = soup.find("div", id="tournament-table", class_="tournament-table-standings")
65
- rows = div_find.find("ui-table__row ") if div_find else None
 
66
  #rows = soup.find("div", class_="ui-table__row ")
67
  data = []
68
  #for row in rows:
 
62
  html = wd.execute_script("return document.documentElement.outerHTML;")
63
  soup = BeautifulSoup(html, "html.parser")
64
  div_find = soup.find("div", id="tournament-table", class_="tournament-table-standings")
65
+ rows = table_div.select("div.ui-table__row")
66
+ #rows = div_find.find("ui-table__row ") if div_find else None
67
  #rows = soup.find("div", class_="ui-table__row ")
68
  data = []
69
  #for row in rows: