From 681b304ac3ed8acc6c3bf3f90ee171df08fa0561 Mon Sep 17 00:00:00 2001 From: Alex Marvin Date: Fri, 17 Nov 2023 12:33:25 -0600 Subject: [PATCH 1/2] Fixes CSS selector for player ID --- ffbot/scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffbot/scraper.py b/ffbot/scraper.py index 7b3c38d..4eea107 100644 --- a/ffbot/scraper.py +++ b/ffbot/scraper.py @@ -78,7 +78,7 @@ def scrape(league, is_IDP: bool = False): break for row in rows: td = row.select("td")[1] - ID = td.select_one("span.player-status a")["data-ys-playerid"] + ID = td.select_one(".player-status a")["data-ys-playerid"] ID = int(ID) team = td.select_one(".ysf-player-name span").text team = team.split()[0] From 6ca5549ef4f665a0f06c764e398ee0414a9106b2 Mon Sep 17 00:00:00 2001 From: Alex Marvin Date: Fri, 17 Nov 2023 12:34:01 -0600 Subject: [PATCH 2/2] v1.2.4 --- ffbot/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffbot/constants.py b/ffbot/constants.py index bd32bc2..ef7090f 100644 --- a/ffbot/constants.py +++ b/ffbot/constants.py @@ -1 +1 @@ -VERSION = "1.2.3" +VERSION = "1.2.4"