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

Unable to access league data for 2018 season #466

Open
ntellakula opened this issue Sep 10, 2023 · 2 comments
Open

Unable to access league data for 2018 season #466

ntellakula opened this issue Sep 10, 2023 · 2 comments

Comments

@ntellakula
Copy link

Sport

Football

Summary

Looks like the ESPN API was changed in 2018 and every league was made private that year. Using the League() class I can access every year except 2018; from 2011 to 2023. Even after specifying the swid and espn_s2 cookies, 2018 cannot be accessed. I attempted to access league data using requests and specifying league parameters and the cookies and still cannot access the league. Using requests this is the response I receive:

{'messages': ['You are not authorized to view this League.'], 'details': [{'message': 'You are not authorized to view this League.', 'shortMessage': 'You are not authorized to view this League.', 'resolution': None, 'type': 'AUTH_LEAGUE_NOT_VISIBLE', 'metaData': None}]}

Are there workarounds or plans to extract 2018 data?

Logs/Data

No response

@Robert-litts
Copy link
Contributor

This appears to be a duplicate of my issue #278. Just submitted PR #514 to address it.

@Robert-litts
Copy link
Contributor

Robert-litts commented Jan 7, 2025

Circling back on this. I closed my original PR #514 last year but worked on #615 this fall and it should solve this issue.

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

2 participants