A user-friendly anime downloader CLI for Termux — streams from animepahe.pw with real-time search, CF cookie bypass, quality selection, and aria2c segmented downloading.
Project description
anime-termux
A user-friendly anime downloader CLI for Termux (Android) and Linux, streaming from animepahe.pw.
Install
pip install anime-termux
Then install curl_cffi for fully automatic Cloudflare bypass (no cookie setup needed):
pip install curl_cffi
Recommended (fastest downloads):
pkg install aria2 # 16-thread segmented downloading
pkg install ffmpeg # video merging
Usage
anime # just run it
anime --dir=/sdcard/MyAnime # custom download folder
anime --setup # manually refresh CF cookie (rarely needed)
Cloudflare bypass — how it works
| Method | How | Setup needed? |
|---|---|---|
| curl_cffi ✅ | TLS fingerprint impersonation (Chrome 120) | pip install curl_cffi then nothing |
| Chrome auto-extract | Reads cookie from Chrome's SQLite DB | Linux desktop / rooted Android only |
| Manual wizard | You paste the cookie once | Fallback for any platform |
If curl_cffi is installed, anime starts immediately with no prompts.
If it's not installed, the tool tries to auto-read from Chrome, then falls back to a one-time manual wizard.
Features
- Zero-setup with curl_cffi —
pip install curl_cffiandanimejust works, no cookie copy-paste ever - Real-time search — suggestions from the first character you type; Tab to autocomplete
- Quality picker — 360p / 480p / 720p / 1080p / best
- Segmented download — aria2c x16 connections (falls back to yt-dlp 8-fragment mode)
- Episode range — single ep, ranges (
2-8), comma lists (1,5,10), orall - Skip existing — already-downloaded episodes are skipped automatically
- Custom directory —
anime --dir=/path/to/folder
Output
/sdcard/Anime/{Anime Title}/{Anime Title} - Ep001.mp4
If curl_cffi doesn't work
curl_cffi bypasses Cloudflare by impersonating a real browser's TLS fingerprint.
This works on residential and mobile IPs. It may fail if you're on a VPN or proxy.
In that case, run anime --setup to use the cookie-based method instead.
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
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.4.tar.gz.
File metadata
- Download URL: anime_termux-1.0.4.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64e3c6b96730a86fe006740dfb55f58e49147fdf7e81e77e5163e5bc15c06191
|
|
| MD5 |
dec70fb9bc23ef2aef4a07a9a2e3fa55
|
|
| BLAKE2b-256 |
a5f0566c2f6b4ffb3a2d93c0f542624b35849720c8fd649d87a5bf72ecf1df40
|
File details
Details for the file anime_termux-1.0.4-py3-none-any.whl.
File metadata
- Download URL: anime_termux-1.0.4-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
002a8dce220ed050ed44e86f6398796eab022bb26a1877e7361ab5d6b8907092
|
|
| MD5 |
fdc3b83b3b18ef95c7d55836aa5059c7
|
|
| BLAKE2b-256 |
662636c26cbf441dd930abc16b7fb4102460d37cb12a992bcfc58203d5e14005
|