sintamar commited on
Commit
9822f39
·
verified ·
1 Parent(s): 2af0748

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.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 = []
 
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.select("div[class*=ui-table__row]")
66
+
67
  #rows = div_find.find("ui-table__row ") if div_find else None
68
  #rows = soup.find("div", class_="ui-table__row ")
69
  data = []