-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Description
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) # fixedMetadata
Metadata
Assignees
Labels
No labels