Skip to main content

mangadl-cli

A manga downloader CLI that downloads from weebcentral.com. Works on Android (Termux), Windows, Linux, and macOS.


Features

  • Live search — type manga name, get suggestions as you type
  • Chapter range selection — single, range, batch, mixed
  • Multiple output formats — CBZ, PDF, Images, or merged All-in-One CBZ
  • Fast downloads — aria2c multi-connection downloading
  • Resume support — interrupted downloads continue from where they stopped
  • Auto-retry — failed chapters retry automatically
  • Cross-platform — same command on all platforms

Install

Android (Termux)

# Update packages
pkg update && pkg upgrade

# Install dependencies
pkg install aria2 python

# Install mangadl-cli
pip install mangadl-cli

Grant storage access so mangadl can save to your gallery:

termux-setup-storage

Windows

  1. Install Python from https://www.python.org/downloads/ (check "Add to PATH")
  2. Open Command Prompt or PowerShell:
pip install mangadl-cli

Optional — install aria2 for faster downloads: https://aria2.github.io/

Linux (Debian/Ubuntu)

# Install dependencies
sudo apt update
sudo apt install python3-pip aria2

# Install mangadl-cli
pip install mangadl-cli

macOS

# Install dependencies
brew install aria2

# Install mangadl-cli
pip3 install mangadl-cli

Usage

mangadl
  1. Type manga name — suggestions appear as you type
  2. Pick a result from the numbered list
  3. Enter chapter range (see format below)
  4. Choose output format
  5. Downloads start automatically

Command-line options

# Set custom download directory
mangadl --dir /path/to/manga

# Show help
mangadl --help

Output formats

Format Description
CBZ Comic book archive — one file per chapter, best for comic readers
PDF Single PDF per chapter (requires pip install Pillow)
Images Raw image folder — one folder per chapter
CBZ (All-in-One) Merge all selected chapters into one big CBZ file

All-in-One CBZ

When you select "CBZ (All-in-One)", mangadl:

  1. Downloads all selected chapters to temp files
  2. Numbers pages sequentially across chapters (0001, 0002, ...)
  3. Merges everything into a single CBZ

Example: Chapter 1 (20 pages) + Chapter 2 (15 pages) = one CBZ with 35 pages numbered 0001-0035.


Chapter range formats

Input Meaning
1 Single chapter 1
2-8 Chapters 2 through 8
1-90 Chapters 1 through 90
all Every chapter
1,5,10 Specific chapters
1-10,20,30-35 Mixed ranges

Default download locations

Platform Default path
Android (Termux) /sdcard/Manga/
Windows C:\Users\<you>\Downloads\Manga\
Linux ~/Downloads/Manga/
macOS ~/Downloads/Manga/

You can change the directory:

  • At startup when prompted
  • With the --dir flag: mangadl --dir /custom/path
  • With environment variable: MANGA_DOWNLOAD_DIR=/path mangadl

Requirements

Tool Required? Install
Python 3.8+ Yes Pre-installed on most systems
aria2 Recommended pkg install aria2 / apt install aria2 / brew install aria2
prompt_toolkit Yes (included) Installed automatically
Pillow Optional pip install Pillow (for PDF output)

Without aria2, mangadl uses built-in threaded downloads (slower but works).


Troubleshooting

aria2c not found

# Termux
pkg install aria2

# Windows — download from https://aria2.github.io/
# Linux
sudo apt install aria2

# macOS
brew install aria2

Permission denied on /sdcard (Termux)

termux-setup-storage

Python not found (Windows)

Make sure you checked "Add Python to PATH" during install. Then restart your terminal.

Slow downloads

Install aria2 for faster multi-connection downloading.


License

MIT

Metadata

Release files for mangadl-cli 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mangadl-cli 1.1.1
File Size Uploaded
mangadl_cli-1.1.1.tar.gz 14.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mangadl-cli 1.1.1
File Interpreter ABI Platform
mangadl_cli-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.3 kB

Release files / mangadl_cli-1.1.1.tar.gz

Download URL mangadl_cli-1.1.1.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bc9ad41835eb4754d7ce4a9d5193949a221ff764ed541f693d30d9eded170f8f
BLAKE2b-256 checksum
How to use checksums
8a75efd130e94c8fe5d9dd497559591e279e193a29c084b3daafed7f3af02efc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / mangadl_cli-1.1.1-py3-none-any.whl

Download URL mangadl_cli-1.1.1-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fcb8cd9d48f56b58d11573850c773f537c500fc47a22ed9e0a06dae3efb4efa
BLAKE2b-256 checksum
How to use checksums
f5f08800420d58a80a551cde8d4354b3da3ff0046faa34e79ce55235308e8efa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page