Git Product home page Git Product logo

downloadspringerbooks's Introduction

What is this?

This is a quick and dirty piece of code to (try to) download all of the SpringerOpen books available.

...but why Java!? Surely you could have used curl or wget?

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.

Set-up instructions

  1. Download the latest Selenium Gecko Driver for your operating system.
  2. Download the Selenium Java libraries.
  3. Set up the project on your favorite IDE with the libraries above.
  4. Download Firefox, or change the project to use your browser of choice.
  5. Update the class with all your own settings for folders and the location of the Gecko driver.
  6. Let it run!

Known issues

  • 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.

downloadspringerbooks's People

Watchers

Rodrigo Bozzolo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.