Skip to content

Commit

Permalink
Merge pull request #79 from amarvin/77-fix-bug-with-scraper-for-playe…
Browse files Browse the repository at this point in the history
…r-id-given-new-html-element

77 fix bug with scraper for player id given new html element
  • Loading branch information
amarvin authored Nov 17, 2023
2 parents ee88c1d + 6ca5549 commit 09c34c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ffbot/constants.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "1.2.3"
VERSION = "1.2.4"
2 changes: 1 addition & 1 deletion ffbot/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 09c34c7

Please sign in to comment.