Skip to main content

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

Metadata

Release files for animepahe-dl-tmux 1.4.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for animepahe-dl-tmux 1.4.6
File Size Uploaded
animepahe_dl_tmux-1.4.6.tar.gz 13.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for animepahe-dl-tmux 1.4.6
File Interpreter ABI Platform
animepahe_dl_tmux-1.4.6-py3-none-any.whl Python 3 none any Details

Total release size: 25.2 kB

Release files / animepahe_dl_tmux-1.4.6.tar.gz

Download URL animepahe_dl_tmux-1.4.6.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cf65e28b1dbc64359f9f50913c80c3ecf8c245ce49ee72cbf51f6de0ea252e59
BLAKE2b-256 checksum
How to use checksums
204ad788d95a27bfd30da3693bc392dca10e8276fe5fb8f37ec98c4235ff9e94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / animepahe_dl_tmux-1.4.6-py3-none-any.whl

Download URL animepahe_dl_tmux-1.4.6-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54fd2cbe5f8902eef9d8d8a9c1c61fbc180d30a91e98878f1e3d417f31599779
BLAKE2b-256 checksum
How to use checksums
6e75988f903652d2bf2b9b93a5b248ba4c64af809cf35f4654e65c3d78394595
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

1.4.6 This release

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.19

1 release file

1.3.18

1 release file

1.3.17

1 release file

1.3.16

1 release file

1.3.15

1 release file

1.3.14

1 release file

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page