amarvin / fantasy-football-bot

Automate playing Yahoo Fantasy Football
MIT License
36 stars 6 forks source link

Fix bug with scraper for player ID, given new HTML element #77

Closed amarvin closed 8 months ago

amarvin commented 8 months ago

Seems like Yahoo did a minor change to the player details view replacing a <span> with a <div>, and that breaks the ffbot.scape's CSS selector for player ID.

Incogneat01234 commented 8 months ago

I saw this pop up, any thoughts on a quick fix? I am using your scraper to pull data for a trade-finding tool and noticed yahoo broke this a few days ago.

amarvin commented 8 months ago

I'm building the fix now and will push a new version v1.2.4 with it to PyPI. You should then be able to just run pip install -U ffbot to get the fix.

amarvin commented 8 months ago

v1.2.4 is published and ready for you.