garzj / d4sd

A downloader for https://digi4school.at/ or https://www.scook.at/.

Home Page:https://npmjs.com/package/d4sd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

digi4school-downloader

Features

Installation

  • Install Node.js + npm
  • npm i -g d4sd@latest
    • (or use yarn global add d4sd@latest)
    • (or replace d4sd with npx d4sd@latest for all commands)

Usage

Basic usage
d4sd -u <user> <...books>

Specify a password and an output folder
d4sd -u <user> -p <password> -o ./download/ <...books>

Download specific books using a glob pattern
d4sd -u john.doe@example.com -o ./download/ "Grundlagen d?? Elektrotechnik (2|3)*"

Download your whole shelf
d4sd -u john.doe@example.com -o ./download/ "*"

Download a book using an url
d4sd -u john.doe@example.com "https://digi4school.at/ebook/xxxxxxxxxxxx" ("another url"...)

Download a book from Scook
d4sd -s scook -u john.doe@example.com "https://www.scook.at/produkt/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

Download a book from Trauner DigiBox
d4sd -s trauner -u john.doe@example.com "Englisch *"

More options can be found with d4sd -h.

Note: On Linux, make sure to use single quotes ' instead of ".

Slow internet connections

On slow networks I'd recommend setting the timeout to a higher value
d4sd -u <user> -t 180000 "*"

Disclaimer

This project is only for educational purposes. Don't download books with this tool please.

About

A downloader for https://digi4school.at/ or https://www.scook.at/.

https://npmjs.com/package/d4sd

License:GNU General Public License v3.0


Languages

Language:TypeScript 78.2%Language:JavaScript 21.8%