diff --git a/ffbot/constants.py b/ffbot/constants.py index 44abefd..a85fbd0 100644 --- a/ffbot/constants.py +++ b/ffbot/constants.py @@ -1 +1 @@ -VERSION = "1.2.9" +VERSION = "1.2.10" diff --git a/ffbot/scraper.py b/ffbot/scraper.py index c1ff7ec..894b461 100644 --- a/ffbot/scraper.py +++ b/ffbot/scraper.py @@ -81,7 +81,7 @@ def scrape(league, is_IDP: bool = False): td = row.select("td")[1] ID = td.select_one(".player-status a")["data-ys-playerid"] ID = int(ID) - team = td.select_one(".ysf-player-name span").text + team = td.select_one(".ysf-player-name .D-b span").text team = team.split()[0] data.add((ID, team))