AnimePahe Downloader is a Python script that helps you search for anime, extract direct download links, and batch-download episodes from AnimePahe—all from a simple command-line interface.
- Anime Search: Find anime titles and view available episodes.
- Episode Listings: See episode lists along with useful metadata.
- Download Link Extraction: Get direct download links (choose subs/dubs and video quality).
- Batch Downloads: Download multiple episodes in one go, using Selenium and
undetected-chromedriver
to get around anti-bot measures. - Easy CLI: A menu-driven interface guides you through every step.
git clone https://github.com/yourusername/animepahe-downloader.git
cd animepahe-downloader
It's best to use a virtual environment.
pip install -r requirements.txt
Main dependencies:
requests
beautifulsoup4
undetected-chromedriver
selenium
python main.py
You'll see a menu like this:
==== AnimePahe Downloader Main ====
1. Generate download links from animepahe (search anime, get .txt)
2. Download video files from links file (.txt)
3. Exit
===================================
- Search for an anime title.
- Pick subbed/dubbed and video quality (720p/1080p).
- Save download links for selected episodes into a
.txt
file.
- Choose the
.txt
file you created earlier. - The script opens a browser, follows the links, and automatically downloads the videos.
animepahe-downloader/
├── main.py # CLI entry point
├── mainSite.py # Handles anime search and link generation
├── downloadSite.py # Handles automated downloads
├── README.md
├── requirements.txt
├── downloads/ # (auto-created) Where downloaded video files go
└── ...
- Automation: Uses
undetected-chromedriver
to reduce the chance of being blocked. - Download Location: All videos are saved to the
downloads/
folder. - AnimePahe Limits: Too many requests can get your IP temporarily blocked. Download responsibly.
Disclaimer:
This tool is for educational use only. Don't redistribute, download anime, or use this script to break the Terms of Service of AnimePahe or any other site.