I'm in need of assistance here, and I'm hoping someone can help. I really want to find an "example" script that will help teach me the art of scraping data from mlb.com, preferably using python's BeautifulSoup library. If you can provide a script that can scrape a few stats for all games in a single day, all my betpoints are belong to you.
So basically, something that scrapes the innings pitched for each starting pitcher, as well as the number of walks and hits allowed for each inning would be fantastic. Well, I actually need a lot more data than that, but the easiest way for me to learn how to do the rest of it myself would be to start with a very simple script that is commented, and continue from there. In return, I'm happy to post my finished script that scrapes all the data I am interested in. Actually, I'm surprised something like this hasn't been posted somewhere in the past.
Anyone with the expertise feel like sharing?
Thanks,
Matt