Skip to content

Teams class from the NBA package seems to be broken. #691

@Difio3333

Description

@Difio3333

Describe the bug
When using the following example code from your README.md
`
from sportsipy.nba.teams import Teams

for team in Teams():
print(team.name)
schedule = team.schedule # Request the current team's schedule
for game in schedule:
print(game.date, game.points_scored, game.points_allowed)
`
It always returns:
The requested page returned a valid response, but no data could be found. Has the season begun, and is the data available on www.sports-reference.com?

The other classes seem to work fine.

Desktop (please complete the following information):

  • OS: Mac OS Catalina 10.15.7
  • Sportsipy Version: 0.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions