Warning
The database will migrate and be changed during the next major release. There will be a command to do the migration on release, don't forget to do it.
Note
Maintaining that section up-to-date might take longer that the releases can happen, in that case please refer to the built-in help command with -h
.
The program is divided in different subcommands, the root doesn't have any special actions except accessing the subcommands.
../CLI help/main.txt
This command allows you to manually download on or a set of chapters for a specific manga. For it to work you'll need to specify at least a link or an id to the manga, the save format for the downloaded scan and the corresponding fetchers
to the chapter.
../CLI help/manual.txt
The following command downloads to the books/
folder the chapters from 10 to 20 for the manga fullmetal alchemist on https://mangadex.org in a pdf format:
pyscandl -l https://mangadex.org/title/286/fullmetal-alchemist -f mangadex -o books/ -c 10 -e 20 -p
This command allow you to automatically search for new scans that are out for a set of mangas that you previously added to the database with the add sub-command. The mangas that will be searched are the ones not archived in the database.
../CLI help/autodl.txt
The following command will launch the auto download in a tiny mode to the folder book/autodl/
in pdf format:
pyscandl -o books/autodl/ -t -p
The manga command is the part that controls the database used by the autodl command. It is itself composed of a subset of commands allowing different actions in the database such as adding, removing or editing the infos of an entry.
Note
An archived manga wont be checked when using -l
or with the autodl
subcommand.
You can also use this command to list all the current manga in the database and to import or export a database.
Each entry in the database consists of:
- the name of the manga
- a link the the manga's main page
- the name of the fetcher used
- the list of all the downloaded chapters
- if the manga is archived or not
../CLI help/manga.txt
You can use the pyscandl manga
command to list the current mangas that are in the database
The following command lists all the names of the non-archived mangas in the database:
pyscandl manga -l
The following command lists all the names of the archived mangas in the database:
pyscandl manga -lo
The following command lists all the names of the mangas in the database, even the archived ones:
pyscandl manga -la
It is possible to import and export databases with the pyscandl manga
command. It can be usefull to make backups or install already existing databases in a new pyscandl installation.
The following command exports your current database into a db.json
file in Documents/pyscandl/
pyscandl manga -e Documents/pyscandl
The following command imports the file at Documents/pyscandl/backup/db.json
to the current database of pyscandl
pyscandl manga -i Documents/pyscandl/backup/db.json
The scan sub-command allows you to check if there are new chapters available for you database entries. You can either specify a name to check or checkk all non archived entries.
../CLI help/manga scan.txt
The following command scans the manga fullmetal alchemist
pyscandl manga scan "fullmetal alchemist"
The add sub-command allows you to add a new entry to the database for the autodl command.
../CLI help/manga add.txt
The following command adds the manga fullmetal alchemist from the website https://mangadex.og to the database under the name "fullmetal alchemist":
pyscandl manga add "fullmetal alchemist" -l https://mangadex.org/title/286/fullmetal-alchemist -f mangadex
The edit sub-command allows you to edit one of the already existing entries of the database.
../CLI help/manga edit.txt
The following command archives the manga saved under the name "fullmetal alchemist":
pyscandl manga edit "fullmetal alchemist" -a
The info sub-command gives you the information available about the requested database entry.
The info consists of:
- the name of the manga
- a link the the manga's main page
- the name of the fetcher used
- the list of all the downloaded chapters
- the number of last chapter downloaded
- the total of chapters downloaded
- if the manga is archived or not
../CLI help/manga info.txt
The following command gets the info about the database entry saved with the name "fullmetal alchemist":
pyscandl manga info "fullmetal alchemist"
The chaplist sub-command gives you the list of all the chapters downloaded with the autodl command for this entry in the database.
../CLI help/manga chaplist.txt
The following command gets the list of chapters downloaded for the database entry saved with the name "fullmetal alchemist":
pyscandl manga chaplist "fullmetal alchemist"
The delete sub-command deletes the specified entry from the database.
Warning
There is no trash so every use of this command cannot be undone, if you are unsure about the deletion, backup the database first !
../CLI help/manga delete.txt
The following command gets deletes the database entry saved with the name "fullmetal alchemist":
pyscandl manga delete "fullmetal alchemist"
The rmchap sub-command deletes all the chapters listed from the entry of the database requested.
Note
if you delete the wrong chapters you will download them again the lext time you use the autodl command as they will no longer be seen as already downloaded.
../CLI help/manga rmchaps.txt
The following command removes the chapters 10, 25, 42 and 6.9 from the list of downloaded chapters for the manga saved under the name "fullmetal alchemist":
pyscandl manga rmchaps "fullmetal alchemist" 10 25 42 6.9