Skip to main content

A Command-line tool to download manga from MangaDex, written in Python

Project description

pypi-total-downloads python-ver pypi-release-ver

mangadex-downloader

Indonesian Turkish

A command-line tool to download manga from MangaDex, written in Python.

Table of Contents

Key Features

  • Download manga, cover manga, chapter, or list directly from MangaDex
  • Download manga or list from user library
  • Find and download MangaDex URLs from MangaDex forums (https://forums.mangadex.org/)
  • Download manga in each chapters, each volumes, or wrap all chapters into single file
  • Search (with filters) and download manga
  • Filter chapters with scalantion groups or users
  • Manga tags, groups, and users blacklist support
  • Batch download support
  • Authentication (with cache) support
  • Control how many chapters and pages you want to download
  • Multi languages support
  • Legacy MangaDex url support
  • Save as raw images, EPUB, PDF, Comic Book Archive (.cbz or .cb7)
  • Respect API rate limit

And ability to not download oneshot chapter

Supported formats

Read here for more info.

Installation

What will you need:

That's it.

Python Package Index (PyPI)

Installing mangadex-downloader is easy, as long as you have requirements above.

# For Windows
py -3 -m pip install mangadex-downloader

# For Linux / Mac OS
python3 -m pip install mangadex-downloader

You can also install optional dependencies

  • py7zr for cb7 support
  • orjson for maximum performance (fast JSON library)
  • lxml for EPUB support

Or you can install all optional dependencies

# For Windows
py -3 -m pip install mangadex-downloader[optional]

# For Mac OS / Linux
python3 -m pip install mangadex-downloader[optional]

There you go, easy ain't it ?.

Bundled executable

NOTE: This installation only apply to Windows.

Because this is bundled executable, Python are not required to install.

Steps:

Docker

Available at:

# Dockerhub
docker pull mansuf/mangadex-downloader

# AWS ECR (Alternative)
docker pull public.ecr.aws/mansuf/mangadex-downloader

If you want to get optional features such as EPUB support, cb7 support, etc. You can use tag ending with -optional

# Dockerhub
docker pull mansuf/mangadex-downloader:latest-optional
docker pull mansuf/mangadex-downloader:v3.1.3-optional

# AWS ECR (Alternative)
docker pull public.ecr.aws/mansuf/mangadex-downloader:latest-optional
docker pull public.ecr.aws/mansuf/mangadex-downloader:v3.1.3-optional

NOTE: If you're wondering why optional tags doesn't have arm/v6 platform support. That's because some dependencies (most notably orjson) require rust compiler and i give up installing rust compiler in arm/v6 platform, there is too much errors for me.

Development version

NOTE: You must have git installed. If you don't have it, install it from here https://git-scm.com/.

git clone https://github.com/mansuf/mangadex-downloader.git
cd mangadex-downloader
python setup.py install # or "pip install ."

Usage

PyPI version

mangadex-dl "insert MangaDex URL here" 
# or
mangadex-downloader "insert MangaDex URL here" 

# Use this if "mangadex-dl" or "mangadex-downloader" didn't work

# For Windows
py -3 -m mangadex_downloader "insert MangaDex URL here" 

# For Linux / Mac OS
python3 -m mangadex_downloader "insert MangaDex URL here" 

Bundled executable version

  • Navigate to folder where you downloaded mangadex-downloader
  • Open "start cmd.bat" (don't worry it's not a virus, it will open a command prompt)

example_start_cmd

  • And then start using mangadex-downloader, see example below:
mangadex-dl.exe "insert MangaDex URL here" 

example_usage_executable

Docker version

The downloaded files in the container are stored in /downloads directory

# Dockerhub
docker run --rm -v /home/sussyuser/sussymanga:/downloads mansuf/mangadex-downloader "insert MangaDex URL"

# AWS ECR (alternative)
docker run --rm -v /home/sussyuser/sussymanga:/downloads public.ecr.aws/mansuf/mangadex-downloader "insert MangaDex URL"

For more example usage, you can read here

For more info about CLI options, you can read here

Contributing

See CONTRIBUTING.md for more info

Donation

If you like this project, please consider donate to one of these websites:

Any donation amount will be appreciated 💖

Support

Need help ? Have questions or you just wanna chat ?

Come join to discord server

Please note, that the Discord server is really new and it doesn't have anything on it. So please be respect and kind.

Links

Disclaimer

mangadex-downloader are not affiliated with MangaDex. Also, the current maintainer (@mansuf) is not a MangaDex dev

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

mangadex_downloader-3.1.3.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mangadex_downloader-3.1.3-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file mangadex_downloader-3.1.3.tar.gz.

File metadata

  • Download URL: mangadex_downloader-3.1.3.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for mangadex_downloader-3.1.3.tar.gz
Algorithm Hash digest
SHA256 2e6c51f55406c8bac76f36bf09e5f0a0d7f4db2c27a8eec916ed3098f1793d43
MD5 713bee54e86475baa9282c9da7945cd6
BLAKE2b-256 bfb45f681e2b2c8093607bd4c5fa255f55e0a19764f6cfe536575c4709b48d68

See more details on using hashes here.

File details

Details for the file mangadex_downloader-3.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mangadex_downloader-3.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c3844590598f125464fef443ad56c1b49dd2706bda87845e94375d5d14968ff3
MD5 240fef9001da2956d8bc5de8f79ea20d
BLAKE2b-256 6291823ea91b8eed0d55f89a667a96486114e3b5908b4f28b6da2feb3f74a30f

See more details on using hashes here.

Supported by

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