Skip to main content

AnimePahe downloader for Termux — CLI-only, Python HLS segment downloader

Project description

animepahe-dl-tmux

A CLI-only AnimePahe downloader for Termux (and Linux) — no GUI, no PyQt6, pure Python HLS segment downloader.

Install

pip install animepahe-dl-tmux

Requirements

pkg install ffmpeg nodejs fzf   # Termux
# or
sudo apt install ffmpeg nodejs fzf   # Linux/Debian
brew install ffmpeg node fzf        # macOS

Usage

# Interactive mode
dl

# Search and download
dl -n "Demon Slayer"

# Download specific episodes
dl -n "Spy x Family" -e 1-12

# Best quality, English audio
dl -n "Bleach" -q best -a eng

# Download multiple concurrent episodes
dl -n "One Piece" -e 1-10 -c 2

# Stream directly (requires mpv or vlc)
dl -n "Jujutsu Kaisen" --play

# Check for new episodes of your saved anime list
dl --updates

Options

Flag Description
-n, --name Anime name to search
-e, --episodes Episodes to download (e.g. 1,3,5-10 or all)
-q, --quality Video quality: best, 1080, 720, 480, 360
-a, --audio Audio language: jpn (default) or eng
-t, --threads Download threads per episode (default: 50)
-c, --concurrent-downloads Episodes to download at once (default: 2)
--play Stream episode directly with mpv/vlc
--updates Check for new episodes
--manage Manage your personal anime watchlist
--m3u8-only Save .m3u8 playlist file only, skip download

Configuration

Config is stored at ~/.config/animepahe-dl-tmux/config.json:

{
    "base_url": "https://animepahe.ru",
    "quality": "best",
    "audio": "jpn",
    "threads": 50,
    "concurrent_downloads": 2,
    "download_directory": "~/Anime",
    "update_interval_hours": 5
}

Changelog

1.3.9

  • Fix: Resolved Cannot set verify_mode to CERT_NONE when check_hostname is enabled SSL error on Python 3.10+. The fix introduces a custom HTTPAdapter (_NoVerifySSLAdapter) that correctly disables check_hostname before setting verify_mode = CERT_NONE. Applied to both the request session factory and domain detection.

1.3.8

  • Initial public release.

License

MIT

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

animepahe_dl_tmux-1.3.10.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

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

animepahe_dl_tmux-1.3.10-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

Details for the file animepahe_dl_tmux-1.3.10.tar.gz.

File metadata

  • Download URL: animepahe_dl_tmux-1.3.10.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for animepahe_dl_tmux-1.3.10.tar.gz
Algorithm Hash digest
SHA256 43634422b2a76648c4111f400a7fe95b51d1fcf6ea0ffb030aa66178267a499a
MD5 dec13e15d8efaca17e39b8b2f0c13b23
BLAKE2b-256 89cc1a929349d2c1260f0f4cdba9f812070a5c9f10e68c28db936557fd53c2f4

See more details on using hashes here.

File details

Details for the file animepahe_dl_tmux-1.3.10-py3-none-any.whl.

File metadata

File hashes

Hashes for animepahe_dl_tmux-1.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 2f8a42a449c89d0cdca075da9c1ed20dbd188445efd45c687d26347fc066c40f
MD5 c70331376260a3528291039ae5e5452b
BLAKE2b-256 e8ef47225ed93f8f8bc304168cf9df53d28da752b783b3a0dd29e62c59a70de9

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