Skip to main content

AnimePahe downloader — automatic Cloudflare bypass via system Chrome (DrissionPage)

Project description

AnimePahe Downloader

Downloads anime from animepahe.com with automatic Cloudflare bypass — no cookies to paste, no manual steps.

How It Works

  1. First run: opens your system Chrome browser for ~5–10 seconds to solve the Cloudflare challenge automatically
  2. Saves the session cookies locally (~/.cache/animepahe-dl-tmux/)
  3. All subsequent requests use curl_cffi (Chrome TLS fingerprint) with the cached cookies — no browser opened again
  4. If cookies expire (~24 h), the browser re-opens automatically and refreshes them
  5. kwik.si stream URLs are decoded by running the page's obfuscated JS through Node.js
  6. ffmpeg downloads the HLS stream to MP4

Requirements

  • Chrome or Chromium installed on your system (used for the initial Cloudflare bypass)
  • Node.js in PATH — for kwik.si stream decoding — https://nodejs.org
  • ffmpeg in PATH — for HLS download — https://ffmpeg.org

Installation

pip install animepahe-dl-tmux

No other setup needed — just run it.

Usage

animepahe-dl-tmux                          # interactive — prompts for everything
animepahe-dl-tmux "Demon Slayer"           # search + pick episodes interactively
animepahe-dl-tmux "Demon Slayer" --all     # download every episode
animepahe-dl-tmux "Demon Slayer" -e 1-5   # episodes 1 through 5
animepahe-dl-tmux "Demon Slayer" -e 1,3,7 # specific episodes
animepahe-dl-tmux "Demon Slayer" -r 720   # prefer 720p quality
animepahe-dl-tmux --clear-cache           # force a fresh browser session

Output

Files saved to downloads/<Anime Title>/Episode_NNNN.mp4 in your current directory.

Troubleshooting

Symptom Fix
Chrome not opening / browser error Make sure Chrome or Chromium is installed and in PATH
Cloudflare keeps looping Run animepahe-dl-tmux --clear-cache then try again
Node.js is required Install from https://nodejs.org
ffmpeg not found winget install ffmpeg / brew install ffmpeg / apt install ffmpeg
No players found Episode may not be on AnimePahe yet

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.4.5.tar.gz (14.2 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.4.5-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: animepahe_dl_tmux-1.4.5.tar.gz
  • Upload date:
  • Size: 14.2 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.4.5.tar.gz
Algorithm Hash digest
SHA256 534617a6c92556158c3fdd766f05a4ab5f9c1c02f01fa65fa936730eb22e7555
MD5 3494b4c67a3810b134c062a11cf7820b
BLAKE2b-256 d2bf1c8720c2aae2e5c81970e995bc1757555bdd145d2972a5a536a03792d0a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for animepahe_dl_tmux-1.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 383a52003bf7ff3f3f274c7e346c87e4be4575ad64ea610c2bd5e1ef6bed0e85
MD5 0c11f52b370ee3442f09ddbcac915456
BLAKE2b-256 5c798512cb7ea167893ff6ecba33d856e8ea6e754231fc44725d25876ff97619

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