Spaces:
Sleeping
Sleeping
Update extract.py
Browse files- 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 |
-
|
| 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")
|