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) 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_cffipip install curl_cffi and anime just 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), or all
  • Skip existing — already-downloaded episodes are skipped automatically
  • Custom directoryanime --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

anime_termux-1.0.4.tar.gz (16.0 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.4-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

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

Hashes for anime_termux-1.0.4.tar.gz
Algorithm Hash digest
SHA256 64e3c6b96730a86fe006740dfb55f58e49147fdf7e81e77e5163e5bc15c06191
MD5 dec70fb9bc23ef2aef4a07a9a2e3fa55
BLAKE2b-256 a5f0566c2f6b4ffb3a2d93c0f542624b35849720c8fd649d87a5bf72ecf1df40

See more details on using hashes here.

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

Hashes for anime_termux-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 002a8dce220ed050ed44e86f6398796eab022bb26a1877e7361ab5d6b8907092
MD5 fdc3b83b3b18ef95c7d55836aa5059c7
BLAKE2b-256 662636c26cbf441dd930abc16b7fb4102460d37cb12a992bcfc58203d5e14005

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