top of page
345397.jpg

ESPN Stat Scraper

This application uses Beautiful Soup to scrape MLB stats from ESPN.  A user inputs if they would like pitching or batting statistics, and also from which season. Then the HTML is parsed and stored in a panda's data frame. The statistics gathered are then saved to a csv file locally. Below is the  code in a Jupyter notebook, as well as the final results.

345397.jpg
2022-03-26_04-43_edited.jpg
bottom of page