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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mangadex_downloader-3.1.2.tar.gz
Algorithm Hash digest
SHA256 7468528acb114986bd747e1af120acc0fc4b4733360f78a83932509639f612fb
MD5 0f2060dd0fe26b546d305d0d4d707f32
BLAKE2b-256 d0c858f45a021cc2fc3bce299f222065ee52ebb13a3a6c503c5d8fd33749e785

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mangadex_downloader-3.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3f00a88710db7035f3e686ad9f5aad95de6ab38181012c4a12cafc523bf4e120
MD5 2baea9b244c7e3c2557ecba0c668317e
BLAKE2b-256 5b3897b6ef07decf22554b532663b20f359c113ce261badb9301dac6ce9443ff

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