• Stars
    star
    266
  • Rank 153,282 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created about 14 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cross-platform, multi-site, multi-threaded manga downloader with over 5000 distinct mangas. Includes support for automated downloading via external .xml file and conversion for viewing on the Kindle.

Manga-Downloader

Note: There is an ongoing rewrite in the 1.0.0 branch (pull requests welcome!), which will break backwards-compatibility with the current version (0.x).
Once it's released, this version will be deprecated and all development and support will be dropped.

Manga-Downloader is a cross-platform Windows/Mac/Linux Python 2/3 script.

It can be automated via an external xml file, and can convert images for viewing on the Kindle.

Currently supports mangafox.com, mangareader.net, mangapanda.com and mangahere.com with a total of over 10,000 mangas. Downloads into .cbz format, can optionally download into .zip instead.

Dependencies

Python 2.6+, including 3.x

PIL if using Kindle conversion.

How to backport to:

  • 2.5 - change the exception-handling code and use StringIO instead of io module
  • 2.4 - removing parentheses after class declarations

Usage

manga.py [options] <manga name> <manga name> <etc.>

The script will offer a choice of 3 manga sites, it will default to the first upon pressing 'enter'.

After selecting a site, the script will output a list of all chapters of the series it has found on the site you selected.

When it prompts "Download which chapters?", type in the ones you want delimited by '-' and ','. You can also type 'all' if you did not specify --all before.

Options

--version

show program's version number and exit

-h, --help

show this help message and exit

--all

Download all available chapters.

-d <download path>, --directory=<download path>

The destination download directory. Defaults to a directory named after the manga.

--overwrite

Overwrites previous copies of downloaded chapters.

-t <number>, --threads=<number>

Limits the number of chapter threads to the user specified value. Default value is 3.

--verbose

Verbose output.

-x <xmlfile path>, --xml=<xmlfile path>

Parses the .xml file and downloads all chapters newer than the last chapter downloaded for the listed mangas.

-z, --zip

Downloads using .zip compression. Omitting this option defaults to .cbz.

-c, --convertFiles

Converts the files that are downloaded to a Format/Size ratio acceptable to the device specified by the device parameter. The converted images are saved in the directory specified by the outputDirectory parameter.

--device

Specifies the target device for the image conversion.

--convertDirectory

Converts the image files stored in the directory specified by the inputDirectory parameter. Stores the images in the directory specified by the outputDirectory Parameter

--inputDirectory

The directory containing the images to convert when convertDirectory is specified.

--outputDirectory

The directory to store the converted Images. Omitting this option defaults to DOWNLOAD_PATH/Pictures.

-k <number of chapters in tankoubon>, --tankoubon=<number of chapters in tankoubon>

Allows you to build a tankoubon (a volume file with multiple chapters in it) and specify how many chapters you want in each of them. Defaults to: 1, which means no tankoubon will be created.

--cleanChapters

If -k is specified, this will remove the individual chapter files after building the tankoubon. It has no effect if -k is not specified. Omitting this option defaults to: False.

Usage

manga.py -d "C:\Documents and Settings\admin\Documents\Manga\" -z Bleach

On a Windows machine, downloads 'Bleach' to C:\Documents and Settings\admin\Documents\Manga\, using .zip compression.

./manga.py --overwrite Bleach

On a Linux/Unix machine, downloads 'Bleach' to ./Bleach, using .cbz compression and overwriting previously downloaded chapters.

1,2,9-12

Downloads chapters 1, 2, and 9 through 12

all

Downloads all chapters

./manga.py -x example.xml

Parses example.xml to run the script.

More Repositories

1

monapt

Options, Tries, and Futures for JavaScript / TypeScript
TypeScript
172
star
2

git-workflow-strategies-example

Folding a feature branch into master, using merge --no-ff, rebase, and squash.
63
star
3

mangopi

A manga API with a pluggable site architecture.
Python
27
star
4

rematch

Pattern matching for JavaScript / TypeScript
JavaScript
18
star
5

jstile

A JavaScript tiling manager.
CoffeeScript
2
star
6

neonews

A web portal to newsgroup servers built on an SQLite database, Django framework, and new HTML5 features; an overhaul of html4nntp.
Python
2
star
7

promise-as3

Temporary repo to hold old promise-as3 fork - https://github.com/pmowrer/promise-as3
ActionScript
1
star
8

neptune

An all-in-one package to "clean up" a music folder, i.e. grab album art, lyrics, organize into folders based on album/artist, remove duplicates, etc...maybe even autotag in the future?
Python
1
star
9

nntplib4py2

A backport of the Python v3.2 nntplib module to Python v2.x, allowing for SSL. Currently tested on v2.6.5+.
Python
1
star
10

music_apis

Python library that can talk to API/music services such as last.fm, pandora, etc.
Python
1
star
11

eduwrite

Real-time collaborative learning based on Etherpad-lite.
JavaScript
1
star
12

BBV

Reputation management in p2p storage using virtual currency exchange.
Scala
1
star
13

genesis

Want to build an app with Vue, Webpack, and TypeScript? Don't waste time scaffolding.
TypeScript
1
star
14

python-boilerplate

Just add water!
Python
1
star
15

aethyr

A (slightly-more-than) proof-of-concept man-in-the-middle attack on iTunes.
Python
1
star