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

NHL Boxscore returning previous days data #767

Open
n173hawk opened this issue Dec 8, 2022 · 2 comments
Open

NHL Boxscore returning previous days data #767

n173hawk opened this issue Dec 8, 2022 · 2 comments

Comments

@n173hawk
Copy link

n173hawk commented Dec 8, 2022

Describe the bug
Trying to import today's games from boxscores and it is returning games from prior today. Have tried this a few days in a row with the same results. Also have tried taking out the variables shown below and entering dates manually. This works fine for other sports, but NHL is giving me problems.

To Reproduce
todayDate = dt.date.today()
today = todayDate.strftime("%#m-%#d-%Y")

todayGames = Boxscores(todayDate)._boxscores[today]

Expected behavior
Should return games for date provided (current date).

@n173hawk n173hawk changed the title NHL Boxscore returing previous days data NHL Boxscore returning previous days data Dec 8, 2022
@n173hawk
Copy link
Author

n173hawk commented Dec 9, 2022

Looks to be working correctly tonight. Closing issue.

@n173hawk n173hawk closed this as completed Dec 9, 2022
@n173hawk n173hawk reopened this Dec 14, 2022
@n173hawk
Copy link
Author

Still having issue. Randomly seemed to work the day I closed it, hasn't since then. Having the same issue receiving the previous days data

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

1 participant