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.1.tar.gz (10.8 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.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anime_termux-1.0.1.tar.gz
  • Upload date:
  • Size: 10.8 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.1.tar.gz
Algorithm Hash digest
SHA256 f65f31b7c24677f29012d0b02024c05cd9e3e81bae5117e6145a0b5b610e619a
MD5 e864a9bb1527defa68d8326c180ce131
BLAKE2b-256 41abba90a153deb45e5d180b8827b1ec24d7cfc011bd1d44e3f6cb00d3a61f5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anime_termux-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22c5e58693510e82384b95bd938ec1fb7dd5d21c70f8d7b7665bc039440a1abf
MD5 1b7a0c99f51a8cc107349a82dd20dc7d
BLAKE2b-256 e4983c303ad2e07b3723f9a8368d168833ed0540f96afef5c172a66e52faf348

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