Command line application and library to download and convert comics from various sources
Project description
mandown
Comic downloader and converter to CBZ and EPUB as a Python library and command line application.
Supported sites
To request a new site, please file a new issue.
- https://mangasee123.com
- https://manganato.com
- https://webtoons.com
- https://mangadex.org
- https://mangakakalot.com
- https://readcomiconline.li
Installation
Install the package from PyPI:
pip3 install mandown
Or, to build from source:
Mandown depends on poetry for building.
git clone https://github.com/potatoeggy/mandown.git
poetry install
poetry build
pip3 install dist/mandown*.whl
Usage
mandown download <URL>
To convert the download contents to CBZ/EPUB, append the --convert
option. To apply image processing to the downloaded images, append the --process
option.
mandown download <URL> --convert epub --process rotate_double_pages
To convert an existing folder without downloading anything except metadata (like a stripped-down version of https://github.com/ciromattia/kcc), use the convert
command.
mandown convert <FORMAT> <PATH_TO_FOLDER>
Run mandown --help
for more info.
Library usage
import os
import mandown
manga = mandown.query(url_to_manga)
print(manga.metadata, manga.chapters)
for c in manga.chapters:
mandown.download_chapter(c, dest_folder=os.getcwd(), maxthreads=4)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mandown-0.7.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31a029e6ad832154fc679e93f62d2d19e19349906f1e7af19932b6908b0523e0 |
|
MD5 | ad3d8c7744b2d7c7c3a17f262eea3a7f |
|
BLAKE2b-256 | 57efb598f151979588feac82d986ad688361aa9d1fcf61828fac71e0d348a610 |