anime-termux
A user-friendly anime downloader CLI for Termux (Android), streaming from animepahe.pw.
Install
pip install anime-termux
Requirements (auto-installed via pip):
curl_cffi— Cloudflare bypass (Chrome TLS impersonation)yt-dlp— episode extraction and downloadingprompt_toolkit— live search UI
Recommended (install in Termux for fastest downloads):
pkg install aria2 # 16-thread segmented downloading
pkg install ffmpeg # video merging (usually pre-installed with yt-dlp)
Usage
# Interactive mode
anime
# Custom download directory
anime --dir=/sdcard/MyAnime
anime --dir=/storage/external/Anime
Features
- Real-time search — suggestions as you type, Tab to autocomplete
- Cloudflare bypass —
curl_cffiimpersonates Chrome 120 so CF challenges pass - Quality picker — choose 360p / 480p / 720p / 1080p / best
- Segmented download — aria2c with 16 connections (falls back to yt-dlp's 8-fragment mode)
- Episode range — download single episodes, ranges, or mixed selections
- Skip existing — already-downloaded episodes are skipped automatically
- Custom directory —
anime --dir=/path/to/folder
How it works
- Searches AnimePahe API via
curl_cffi(bypasses Cloudflare) - Shows paginated episode list
- You pick episode range + quality
- yt-dlp downloads via kwik.cx extraction with segmented aria2c
Output
Files are saved as:
/sdcard/Anime/{Anime Title}/{Anime Title} - Ep001.mp4
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anime_termux-1.0.5.tar.gz
(12.1 kB
view details)
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 anime_termux-1.0.5.tar.gz.
File metadata
- Download URL: anime_termux-1.0.5.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5fdeb6856b35358b50e6a20d6e2ba6eb4538f9d30664ed30d7ecda89e78415e
|
|
| MD5 |
f1d615b1b087cc789b000faa3d7f1673
|
|
| BLAKE2b-256 |
28db9a90d0a2e41b7368d452faad772c7f04c20c63d95663ab8eb0c81663b7fc
|
File details
Details for the file anime_termux-1.0.5-py3-none-any.whl.
File metadata
- Download URL: anime_termux-1.0.5-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba42f7d32f5a26ef33c5afdaec063c6c240573483d57eb985d08d245a15b280f
|
|
| MD5 |
d9f0ad19fe065063c747241a5b5c9f26
|
|
| BLAKE2b-256 |
9947f0b4f2d2a4009daa5272c8b40e91b78340a608431408e0a05c25a1ea028f
|