Cross-platform anime downloader for AnimePahe with advanced features: smart caching, cross-platform streaming, notifications, filters, batch downloads, and record management
Project description
AutoPahe
Download and stream anime from AnimePahe
Search, download, and stream anime episodes. Cross-platform (Windows, Mac, Linux).
🚀 Installation
From PyPI (recommended):
pip install autopahe
autopahe --setup
From source:
git clone https://github.com/haxsysgit/autopahe.git
cd autopahe
pip install -r requirements.txt
playwright install chromium
With Docker:
git clone https://github.com/haxsysgit/autopahe.git
cd autopahe
docker build -t autopahe:latest .
docker run -it --rm \
-v $(pwd)/data:/app/data \
-v $(pwd)/json_data:/app/json_data \
-v $(pwd)/collection:/app/collection \
autopahe:latest --help
See the docker/ directory for helper scripts and detailed documentation.
Or use the helper script:
Linux/Mac:
docker/docker-run.sh build
docker/docker-run.sh run --help
Windows PowerShell:
docker\docker-run.ps1 build
docker\docker-run.ps1 run --help
Windows Command Prompt:
docker\docker-run.bat build
docker\docker-run.bat run --help
📖 Usage
# Search for anime
autopahe -s "anime name"
# Download episode 1
autopahe -s "anime name" -i 0 -d 1
# Download episodes 1-12
autopahe -s "anime name" -i 0 -md 1-12
# Stream episode 1
autopahe -s "anime name" -i 0 -st 1
More Options
# Different quality (360, 480, 720, 1080)
autopahe -s "anime name" -i 0 -d 1 -p 1080
# Parallel downloads
autopahe -s "anime name" -i 0 -md 1-12 --workers 3
# English dub (if available)
autopahe -s "anime name" -i 0 -d 1 --dub
# Stream with specific player
autopahe -s "anime name" -i 0 -st 1 --player vlc
⚙️ Configuration
# Edit config
autopahe config edit
# Show config
autopahe config show
# Validate config
autopahe config validate
Config location:
- Windows:
%APPDATA%\autopahe\config.ini - Linux/Mac:
~/.config/autopahe/config.ini
🐳 Docker Usage
Quick Start
Linux/Mac:
# Build and run with helper script
docker/docker-run.sh build
docker/docker-run.sh run --help
# Search for anime (no need to escape quotes!)
docker/docker-run.sh run search one piece
docker/docker-run.sh run -s one piece -i 0 -d 1
# Download episodes
docker/docker-run.sh run -s "one piece" -i 0 -md 1-5
Windows PowerShell:
# Build and run with helper script
docker\docker-run.ps1 build
docker\docker-run.ps1 run --help
# Search for anime (no need to escape quotes!)
docker\docker-run.ps1 run search one piece
docker\docker-run.ps1 run -s one piece -i 0 -d 1
# Download episodes
docker\docker-run.ps1 run -s "one piece" -i 0 -md 1-5
Windows Command Prompt:
# Build and run with helper script
docker\docker-run.bat build
docker\docker-run.bat run --help
# Search for anime (use quotes for spaces)
docker\docker-run.bat run search "one piece"
docker\docker-run.bat run -s "one piece" -i 0 -d 1
# Download episodes
docker\docker-run.bat run -s "one piece" -i 0 -md 1-5
Docker Commands
Linux/Mac:
# Build image
docker build -t autopahe:latest .
# Run with volume mounts
docker run -it --rm \
-v $(pwd)/data:/app/data \
-v $(pwd)/json_data:/app/json_data \
-v $(pwd)/collection:/app/collection \
autopahe:latest [command]
# Use docker-compose
docker-compose run --rm autopahe --help
# Open shell in container
docker/docker-run.sh shell
Windows PowerShell:
# Build image
docker build -t autopahe:latest .
# Run with volume mounts
docker run -it --rm `
-v "${pwd}\data:/app/data" `
-v "${pwd}\json_data:/app/json_data" `
-v "${pwd}\collection:/app/collection" `
autopahe:latest [command]
# Use docker-compose
docker-compose run --rm autopahe --help
# Open shell in container
docker\docker-run.ps1 shell
Windows Command Prompt:
# Build image
docker build -t autopahe:latest .
# Run with volume mounts
docker run -it --rm ^
-v "%cd%\data:/app/data" ^
-v "%cd%\json_data:/app/json_data" ^
-v "%cd%\collection:/app/collection" ^
autopahe:latest [command]
# Use docker-compose
docker-compose run --rm autopahe --help
# Open shell in container
docker\docker-run.bat shell
Volume Mounts
./data- Download storage./json_data- Cache and metadata./collection- Your anime collection
Additional Documentation
- See
docker/docker-test.mdfor testing guide - See
docker/docker-test-windows.mdfor Windows-specific testing - See
docker/README.mdfor helper script documentation - See
docker/downloads-guide.mdfor complete downloads guide
Script Features
- Input Sanitization: No need to manually escape quotes in most cases
- Auto Directory Creation: Scripts create necessary data directories
- Cross-Platform: Separate scripts for Linux/Mac, PowerShell, and CMD
- Clean Command: Easy Docker resource cleanup with
cleanoption
📚 Collection Management
# View collection stats
autopahe --collection stats
# Organize downloaded files
autopahe --collection organize
# Find duplicates
autopahe --collection duplicates
🎬 Supported Players
VLC, MPV, MPC-HC, MPC-BE (Windows), Iina (macOS), SMPlayer, Celluloid (Linux)
📜 License
MIT License - see LICENSE
🆘 Help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autopahe-3.5.1.tar.gz.
File metadata
- Download URL: autopahe-3.5.1.tar.gz
- Upload date:
- Size: 78.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88c93efcfcdac3e56b3ce7ea918c8a23087852641062c2de44ac7a5951329b0b
|
|
| MD5 |
971f93ad089a22d237c7f990effac08f
|
|
| BLAKE2b-256 |
d49a75b240e2851a2fbfc1be87f614eebd1716bd00aa00edc770e14608a5f4b1
|
File details
Details for the file autopahe-3.5.1-py3-none-any.whl.
File metadata
- Download URL: autopahe-3.5.1-py3-none-any.whl
- Upload date:
- Size: 81.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c2ccb93b39afbb42538d02cfcffc6d631c635dfd3fff4fee9184ccfd3132e82
|
|
| MD5 |
0ec7908ae8d13c1ae9495d8dc050958a
|
|
| BLAKE2b-256 |
f84c69d0c93d6c4bad48ed20cb962d4b62b1c8477ef305902255179a42d29e07
|