ffbot 1.2.10__tar.gz → 1.2.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ffbot-1.2.10 → ffbot-1.2.11}/PKG-INFO +1 -1
- ffbot-1.2.11/ffbot/constants.py +1 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/ffbot/scraper.py +3 -4
- {ffbot-1.2.10 → ffbot-1.2.11}/ffbot.egg-info/PKG-INFO +1 -1
- ffbot-1.2.10/ffbot/constants.py +0 -1
- {ffbot-1.2.10 → ffbot-1.2.11}/LICENSE +0 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/README.md +0 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/ffbot/__init__.py +0 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/ffbot/optimizer.py +0 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/ffbot/utils.py +0 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/ffbot.egg-info/SOURCES.txt +0 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/ffbot.egg-info/dependency_links.txt +0 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/ffbot.egg-info/requires.txt +0 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/ffbot.egg-info/top_level.txt +0 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/pyproject.toml +0 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/setup.cfg +0 -0
- {ffbot-1.2.10 → ffbot-1.2.11}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VERSION = "1.2.11"
|
|
@@ -14,7 +14,7 @@ from user_agent import generate_user_agent
|
|
|
14
14
|
|
|
15
15
|
# A public league for current week and player IDs
|
|
16
16
|
PUBLIC_LEAGUE = 101
|
|
17
|
-
PUBLIC_LEAGUE_IDP =
|
|
17
|
+
PUBLIC_LEAGUE_IDP = 283
|
|
18
18
|
SEARCH_PLAYER_GROUPS = ["QB", "WR", "RB", "TE", "K", "DEF"]
|
|
19
19
|
SEARCH_PLAYER_GROUPS_IDP = ["QB", "WR", "RB", "TE", "K", "D", "DB", "DL", "LB"]
|
|
20
20
|
|
|
@@ -78,10 +78,9 @@ def scrape(league, is_IDP: bool = False):
|
|
|
78
78
|
if not rows:
|
|
79
79
|
break
|
|
80
80
|
for row in rows:
|
|
81
|
-
|
|
82
|
-
ID = td.select_one(".player-status a")["data-ys-playerid"]
|
|
81
|
+
ID = row.select_one(".player-status a")["data-ys-playerid"]
|
|
83
82
|
ID = int(ID)
|
|
84
|
-
team =
|
|
83
|
+
team = row.select_one(".ysf-player-name .D-b span").text
|
|
85
84
|
team = team.split()[0]
|
|
86
85
|
data.add((ID, team))
|
|
87
86
|
|
ffbot-1.2.10/ffbot/constants.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
VERSION = "1.2.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|