AnimePahe Downloader
Downloads anime from animepahe.com with automatic Cloudflare bypass — no cookies to paste, no manual steps.
How It Works
- First run: opens your system Chrome browser for ~5–10 seconds to solve the Cloudflare challenge automatically
- Saves the session cookies locally (
~/.cache/animepahe-dl-tmux/) - All subsequent requests use curl_cffi (Chrome TLS fingerprint) with the cached cookies — no browser opened again
- If cookies expire (~24 h), the browser re-opens automatically and refreshes them
- kwik.si stream URLs are decoded by running the page's obfuscated JS through Node.js
- 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| animepahe_dl_tmux-1.4.6.tar.gz | 13.7 kB | Without provenance | Details for animepahe_dl_tmux-1.4.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| animepahe_dl_tmux-1.4.6-py3-none-any.whl | Python 3 | none | any | Details for animepahe_dl_tmux-1.4.6-py3-none-any.whl |
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
|
Security for animepahe-dl-tmux 1.4.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.