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.4-optional

# AWS ECR (Alternative)
docker pull public.ecr.aws/mansuf/mangadex-downloader:latest-optional
docker pull public.ecr.aws/mansuf/mangadex-downloader:v3.1.4-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.4.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.4-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mangadex_downloader-3.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 eb9de51d840f159dc8f7e6ea311c46712c89bf5304a8fbd86db5f48ff4804f2a
MD5 6a7dae24007f9f4cbf4f0c36b8ef1863
BLAKE2b-256 19da5633336c7803c7b509b9eae49c8e96848b86c2a77f944143b20c06653902

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mangadex_downloader-3.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 66d7587cb12358d1f8555bab28f569d8bf0c895a0659c8e203af8ac1313b0982
MD5 aab4322dc822754517bcbeca261380e0
BLAKE2b-256 652a3ecb3edf72d0f46a0ef0fc9f7b3383c30fea73055e3c474f28311c2a6b39

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