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.4.tar.gz (13.3 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.4-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: animepahe_dl_tmux-1.4.4.tar.gz
  • Upload date:
  • Size: 13.3 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.4.tar.gz
Algorithm Hash digest
SHA256 a078b51e3256ec451e86900eb063a89b05928345011afafd93cae65cbc873fb1
MD5 a7fb1a139ec74f989750a5d9e7a589bb
BLAKE2b-256 d8152b1b16517be2d204636093b26a2840691bbe575818a0ac2f986022458b42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for animepahe_dl_tmux-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4994854fc90232f9e737a54cdb915dd17ba6f7b86be2b9597cffc3561ae039e9
MD5 c0327f34ab502afbc623a111467f59bd
BLAKE2b-256 59988cde52a42d512afa4af3c85f0591c317ae1ceff84ef25084b0f88921c29d

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