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

NBA Schedule returning empty objects #787

Open
riders994 opened this issue Sep 26, 2023 · 1 comment
Open

NBA Schedule returning empty objects #787

riders994 opened this issue Sep 26, 2023 · 1 comment

Comments

@riders994
Copy link

Describe the bug
NBA Schedule not working

To Reproduce


sched = Schedule('ATL')
## sched = Schedule('ATL', 2023) will have same result
## Console prints: 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?

Expected behavior
Should return a Schedule object with current year's schedule, but returns a nonetype dataframe isntead

Desktop (please complete the following information):

  • Ubuntu 22.04
  • Sportsipy Version: 0.6.0

Additional context
The response is the same for past years

@davidjkrause
Copy link

Took a look at your issue. As with most recent issues here, these cases are resolved by my fork at https://github.com/davidjkrause/sportsipy

See my similar comment on most of the recent issues, this particular repo seems no longer maintained.

Following is what is returned using the fork mentioned above.

from sportsipy.nba.schedule import Schedule
Schedule('ATL')
Wed, Oct 25, 2023 - CHO
Fri, Oct 27, 2023 - NYK
Sun, Oct 29, 2023 - MIL
...

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