mlbgame icon indicating copy to clipboard operation
mlbgame copied to clipboard

Probable Pitchers

Open danielkmetz opened this issue 3 years ago • 3 comments

For the past few days I've been able to pull the probable pitchers for the day's games up until the first game starts since the game that started will no longer have the attribute "probable pitchers". Makes sense. However, today (4/10/21) prior to the first game starting, my code threw the 'GameScoreboard object has no attribute 'p_pitcher_away' error. Why would it be throwing this error before games have started?

danielkmetz avatar Apr 10 '21 16:04 danielkmetz

Wasn't there a game that day that had a late non-named starter - in a bullpen session by chance? and the name wasn't matched. Going to check the tape on this one after finishing this message

marketsbymark avatar May 18 '21 02:05 marketsbymark

Not sure this would cause it, but the first game of the day but was postponed, Pitchers showed up as TBD : https://www.mlb.com/scores/2021-04-10

marketsbymark avatar May 18 '21 02:05 marketsbymark

If it was listed as to TBD that shouldn't be an issue when pulling the probables since it will just show up as "-". Regardless, I was able to find a work around.

danielkmetz avatar Jul 17 '21 16:07 danielkmetz