Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probable Pitchers #141

Open
danielkmetz opened this issue Apr 10, 2021 · 3 comments
Open

Probable Pitchers #141

danielkmetz opened this issue Apr 10, 2021 · 3 comments

Comments

@danielkmetz
Copy link

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?

@marketsbymark
Copy link

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
Copy link

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

@danielkmetz
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants