Download your books from Sanoma 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 ito 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)
- Open a terminal window in the folder where you extracted the repo
- Run
node index.js - Enter your Sanoma email and password
- Enter the id (first column) of the book you want to download
- 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.