Skip to content

Leone25/sanoma-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sanoma-downloader

Download your books from Sanoma as PDFs.

How to use

Installation

(NOTE: this assumes you already have node.js)

  1. Download and extract the repo
  2. Open a terminal window in the folder where you extracted the repo
  3. Run npm i to install all the required dependencies

PLEASE NOTE THAT YOU ALSO NEED TO INSTALL INKSCAPE AND MAKE SURE THAT IT'S REACHABLE TROUGH THE COMMANDLINE (AKA INKSCAPE MUST BE IN YOUR PATH VARIABLE)

Usage

  1. Open a terminal window in the folder where you extracted the repo
  2. Run node index.js
  3. Enter your Sanoma email and password
  4. Enter the id (first column) of the book you want to download
  5. Wait for the download to finish

Further options are available, run node index.js --help for more info.

Note: sometimes the book list might be empty. To fix this, stop the script with CTRL+C, then please install the My Digital Book application on any device (even a different one from the one you are running the script on) and login, then try again the script.

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, please check CONTRIBUTING.

About

Download your books from Samona as PDFs.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors