This is a quick and dirty piece of code to (try to) download all of the SpringerOpen books available.
I tried, believe me... but the Springer website has something weird going on and I couldn't download the files using Bash at all.
If somebody who knows more figures it out, LMK. I'm curious about what the deal with that was.
- Download the latest Selenium Gecko Driver for your operating system.
- Download the Selenium Java libraries.
- Set up the project on your favorite IDE with the libraries above.
- Download Firefox, or change the project to use your browser of choice.
- Update the class with all your own settings for folders and the location of the Gecko driver.
- Let it run!
- Selenium keeps opening a new window for each download. No idea why. I just made it close the driver after every page to balance clutter vs performance.
- Sometimes downloads get stuck with no progress. I added a time-out so it doesn't get stuck. Adjust the time to your personal preference.
- This is janky as hell. I know. I'm not gonna make it prettier or easier to use.