sportsipy
sportsipy copied to clipboard
NHL Boxscore returning previous days data
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).
Looks to be working correctly tonight. Closing issue.
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