downloads manga in cbz files
For this to run you'll need python3 Windows/Mac users: Go here https://www.python.org/downloads/
Linux:
run sudo apt-get install python3
or the equivalet using your perfered(or default) package manager
usage: manga.py [-h] [-x LIST] [-D] [-v] [-d DEST] [-a] [-u USERNAME]
[-p PASSWORD] [-k]
[url] [chap]
positional arguments:
url Url of page to download - do not combine with
-x/--list/-k
chap Chaptes to download - Only works if url is also
specified
optional arguments:
-h, --help show this help message and exit
-x LIST, --list LIST Path to xml list containing data - default list.xml in
directory of this script
-D, --debug Print extra stuff(verbose) and don't remove temp dirs
-v, --verbose Print extra stuff(verbose)
-d DEST, --dest DEST Directory to copy files to after download - default
nowhere - Only works if url is also specified
-a, --add-to-calibre Add book to calibre
-u USERNAME, --username USERNAME
Batoto username
-p PASSWORD, --password PASSWORD
Batoto password
-k Update all manga already downloaded with [url] [chap]
There are a few methods of getting this to work.
By default it will simply download the the images and create a .cbz file, but if you would like it to add the chapter into calibre just set the -a
flag. But to use this be sure to specify the location of the calibre library in the python file.
Opption 1:
manga.py url chapters [-a]
url is the url to the main page of the series: http://www.bato.to/comic/_/comics/sen-to-man-r10545
chapters is the chapter number(s) that you want for example if the series has chapters 1, 2, 3, 4.5, 5, 6.1, 6.25, 7 out, you can match tem by:
*1,2,3,4.5,5,6.1,6.25,7
*1-7
if you do not want to include chapter 5 just combine the opptions:
*1-4.9,6-7
Opption 2 Use the xml TODO Option 3 Use -k once donwloaded with option 1. All manga are found from local dir