/mangadex-downloader-dev

A command-line tool to download manga from MangaDex, written in Python. Fork of mansuf/mangadex-downloader with added torsocks functionality.

Primary LanguagePythonMIT LicenseMIT

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/)
  • Batch download support
  • Legacy MangaDex url support
  • Scanlation groups filter support
  • Authentication support
  • Control how many chapters and pages you want to download
  • Compressed images support
  • HTTP / SOCKS proxy support
  • DNS-over-HTTPS support
  • Multi languages support
  • Save as raw images, EPUB, PDF, Comic Book Archive (.cbz or .cb7)

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:v2.10.3-optional

# AWS ECR (Alternative)
docker pull public.ecr.aws/mansuf/mangadex-downloader:latest-optional
docker pull public.ecr.aws/mansuf/mangadex-downloader:v2.10.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