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.9.tar.gz (28.4 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.9-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: animepahe_dl_tmux-1.3.9.tar.gz
  • Upload date:
  • Size: 28.4 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.9.tar.gz
Algorithm Hash digest
SHA256 533154e074f233c0a770e01f5c62e33e961939dc8c4342e7f0e9183246ccb29c
MD5 2f1c3bed4ffbdfb25a4d878469a00529
BLAKE2b-256 1484faeeb49bdfa13d0fbe076a848fe6733a132c8aa99e46845d73b7517a3ed0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for animepahe_dl_tmux-1.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6bfaf24cdcd21d85e944cda9a4bbe3762abab499e270e1b44375c38f0262bf94
MD5 6aec79c5295aab43f99c91ebad5939a2
BLAKE2b-256 72a58e9637a64f77f0c01366a22d1e59911e2f944764297c43d00bcf3164f0b6

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