/fangraphs_db

Selenium Examples for Scraping FanGraphs Leaderboard Data

Primary LanguageJupyter NotebookMIT LicenseMIT

fangraphs_db

Automates clicking the "Export Data" button on FanGraphs. The doPostBack that the website implements makes it more difficult to scrape than other data sources. To account for this, the test automation software Selenium is used to capture the delimited file output.


Resources


Disclaimer

Scraping data from the web may not be welcomed by the owner, but this method is about as slow as a real person.