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.
-
Requires unzipping and placing the Chrome web driver found here.
Scraping data from the web may not be welcomed by the owner, but this method is about as slow as a real person.