Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent Activity returning league does not exist for private football league #546

Open
zanderman12 opened this issue May 26, 2024 · 3 comments

Comments

@zanderman12
Copy link

Sport

Football

Summary

Trying to access the trade activity for my league. Have included the s2 and swid cookies when defining the league and am able to access league data (team records, player performance, etc.). However, when I try to request recent activity, I get: ESPNInvalidLeague: League ##### does not exist. I have tried this across multiple leagues with the same result. Using latest release version (0.36.0).

ps. Thank you for all the hard work on this. It's incredibly useful!

Logs/Data

No response

@JaxonWright
Copy link

Can confirm that this is happening for me as well on 0.36.0

@danielobrien3
Copy link

danielobrien3 commented Jul 13, 2024

I'm sadly not sure the historical data recent_activities() would pull from even exists anymore. If you go to your league homepage and select the drop down to look at another year's data, "recent activities" is no longer an option (or maybe never was, but I feel like this used to work).

So it seems there has either been a breaking change with recent activities, or it will only return the current seasons data. Again, I don't really remember how this worked in the past, but breaking change seems more likely.

I'd still love to be able to analyze transactions of past years, and the data exists in each player card (go back to whatever season, click a player, look at their transaction history), so maybe the data can still be scraped yet.

@cwendt94
Copy link
Owner

Yeah it does seem like they have removed the ability to see previous years recent activity.

I could definitely look at adding transaction history to the player data. I think it would have to be accessed through the player_info call but looks like they still include that data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants