roclark / sportsipy

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

NHL: Full Score Not Shown When Game Goes Into Overtime or Shootout #735

Open Astro3000x opened 2 years ago

Astro3000x commented 2 years ago

Describe the bug When the game ends in overtime it will show the before OT/SO score.

To Reproduce Sample code which causes an issue.

schedule = Schedule('VAN')
game = schedule[1]
print(game)
boxscore = game.boxscore
print(f"Away: {boxscore.away_goals} Home: {boxscore.home_goals}\n{game.date}\n{boxscore.winner} {game.result}")

Expected behavior I expected that it would show the full game goals instead of just the goals of the regulation time.

Screenshots

Screen Shot 2022-07-03 at 6 11 29 PM

Desktop (please complete the following information):