We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Running the example code to pull team data results in the error "ValueError: Team abbreviation DET not found"
To Reproduce Sample code which causes an issue.
from sportsipy.nfl.teams import Teams teams = Teams() lions = teams('DET')
Solution I solved this by modifying the function _pull_page in utils.py
return pq(url) # old return pq(requests.get(url).content) # fixed
The text was updated successfully, but these errors were encountered:
As with most recent issues here, this case is resolved by the fork at https://github.com/davidjkrause/sportsipy
See my similar comment on most of the recent issues, this particular repo seems no longer maintained.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Running the example code to pull team data results in the error "ValueError: Team abbreviation DET not found"
To Reproduce
Sample code which causes an issue.
Solution
I solved this by modifying the function _pull_page in utils.py
The text was updated successfully, but these errors were encountered: