sportsipy icon indicating copy to clipboard operation
sportsipy copied to clipboard

NHL Boxscore returning previous days data

Open n173hawk opened this issue 2 years ago • 2 comments

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 avatar Dec 08 '22 18:12 n173hawk

Looks to be working correctly tonight. Closing issue.

n173hawk avatar Dec 09 '22 02:12 n173hawk

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

n173hawk avatar Dec 14 '22 23:12 n173hawk