Download books from Hoepli's demo viewer as PDFs
(NOTE: this assumes you already have node.js)
- Download and extract the repo
- Open a terminal window in the folder where you extracted the repo
- Run
npm i
to install all the required dependencies
- Open a terminal window in the folder where you extracted the repo
- Run
node index.js
- Paste the URL of the book you want to download and press enter
- A browser window will open, wait for the process to finish
- The book will be downloaded in the same folder as the script
Further options are available, run node index.js --help
for more info.
Enjoy
Remember that you are responsible for what you are doing on the internet and even tho this script exists it might not be legal in your country to create personal backups of books.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
MIT licence
I may or may not update it depending on my needs tho I'm open to pullup requests ecc.