Skip to main content

A user-friendly anime downloader CLI for Termux — streams from animepahe.pw with real-time search, quality selection, and aria2c segmented downloading.

Project description

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 downloading
  • prompt_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 bypasscurl_cffi impersonates 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 directoryanime --dir=/path/to/folder

How it works

  1. Searches AnimePahe API via curl_cffi (bypasses Cloudflare)
  2. Shows paginated episode list
  3. You pick episode range + quality
  4. yt-dlp downloads via kwik.cx extraction with segmented aria2c

Output

Files are saved as:

/sdcard/Anime/{Anime Title}/{Anime Title} - Ep001.mp4

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

anime_termux-1.0.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anime_termux-1.0.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file anime_termux-1.0.0.tar.gz.

File metadata

  • Download URL: anime_termux-1.0.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for anime_termux-1.0.0.tar.gz
Algorithm Hash digest
SHA256 47e663600989bab6676e0c5d053951fc8287688189478b4b1b59603a70963e9b
MD5 ff375b34abbcc318968175b3d52b608f
BLAKE2b-256 9b7bab3c555997278b802276d75c21859388bc861a6e4da21f91ae6727003cb8

See more details on using hashes here.

File details

Details for the file anime_termux-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: anime_termux-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for anime_termux-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1abf2ac2511d7816f04bf9693237cf4763fa86e95ae177e70a8d2f79b79a455b
MD5 af9021d49f84176024c6184cd873a322
BLAKE2b-256 48cbd207c1509d532f5115ef02322fdd378a722a583436e9801929aab3a32b5d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page