Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
|
|
|
| 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:
|