Skip to main content

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), 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.5.tar.gz (12.1 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.5-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

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

Hashes for anime_termux-1.0.5.tar.gz
Algorithm Hash digest
SHA256 d5fdeb6856b35358b50e6a20d6e2ba6eb4538f9d30664ed30d7ecda89e78415e
MD5 f1d615b1b087cc789b000faa3d7f1673
BLAKE2b-256 28db9a90d0a2e41b7368d452faad772c7f04c20c63d95663ab8eb0c81663b7fc

See more details on using hashes here.

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

Hashes for anime_termux-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ba42f7d32f5a26ef33c5afdaec063c6c240573483d57eb985d08d245a15b280f
MD5 d9f0ad19fe065063c747241a5b5c9f26
BLAKE2b-256 9947f0b4f2d2a4009daa5272c8b40e91b78340a608431408e0a05c25a1ea028f

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