A manga downloader CLI for Termux — downloads from weebcentral.com with CBZ, PDF, or image output, chapter range selection, live search, and aria2c downloading.
Project description
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
- Install Python from https://www.python.org/downloads/ (check "Add to PATH")
- 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
- Type manga name — suggestions appear as you type
- Pick a result from the numbered list
- Enter chapter range (see format below)
- Choose output format
- 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 |
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:
- Downloads all selected chapters to temp files
- Numbers pages sequentially across chapters (0001, 0002, ...)
- 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
--dirflag: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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mangadl_cli-1.1.1.tar.gz.
File metadata
- Download URL: mangadl_cli-1.1.1.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc9ad41835eb4754d7ce4a9d5193949a221ff764ed541f693d30d9eded170f8f
|
|
| MD5 |
977fcffc61081a430c4605b888dc6875
|
|
| BLAKE2b-256 |
8a75efd130e94c8fe5d9dd497559591e279e193a29c084b3daafed7f3af02efc
|
File details
Details for the file mangadl_cli-1.1.1-py3-none-any.whl.
File metadata
- Download URL: mangadl_cli-1.1.1-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fcb8cd9d48f56b58d11573850c773f537c500fc47a22ed9e0a06dae3efb4efa
|
|
| MD5 |
6e5fa1930cb9ef345203bc6e3ea38f3d
|
|
| BLAKE2b-256 |
f5f08800420d58a80a551cde8d4354b3da3ff0046faa34e79ce55235308e8efa
|