roclark / sportsipy

A free sports API written for python
MIT License
475 stars 189 forks source link

NHL Boxscore returning previous days data #767

Open n173hawk opened 1 year ago

n173hawk commented 1 year ago

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 commented 1 year ago

Looks to be working correctly tonight. Closing issue.

n173hawk commented 1 year ago

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