Skip to main content

Command line application and library to download and convert comics from various sources

Project description

mandown

CodeFactor

Python library and command line application to download comics from various sources and convert them to CBZ/EPUB.

Supported sites

Installation

Install the package from PyPI:

pip3 install mandown

Or, to build from source:

git clone https://github.com/potatoeggy/mandown.git
poetry install
poetry build
pip3 install dist/mandown*.whl

Usage

mandown <URL>

To convert the download contents to CBZ/EPUB, append the --convert option.

mandown <URL> --convert EPUB

Run mandown --help for more info.

Library usage

import os
from mandown 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mandown-0.5.0.tar.gz (24.7 kB view hashes)

Uploaded Source

Built Distribution

mandown-0.5.0-py3-none-any.whl (28.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page