A fast, multi-threaded E-Hentai gallery downloader with a beautiful terminal interface.
- Multi-threaded downloading for maximum speed
- Beautiful terminal UI with progress bars
- Automatic pagination handling
- Random delays to avoid rate limiting
- Cross-platform support (Windows, Linux, macOS)
# Clone the repository
git clone https://github.com/yourusername/ehdownloader-next.git
cd ehdownloader-next
# Install dependencies
pip install -r requirements.txt
# Run the program
python main.pyDownload the latest release from the Releases page.
-
Run the program:
python main.py
-
Follow the interactive prompts:
- Enter the gallery URL (e.g.,
https://e-hentai.org/g/3579116/03a3621862/) - Enter the output directory (default:
output)
- Enter the gallery URL (e.g.,
-
The program will:
- Fetch all page links from the gallery
- Extract image URLs from each page
- Download all images to the specified directory
Install Nuitka and build:
pip install nuitka
# Windows
nuitka --standalone --onefile --windows-console-mode=force --windows-icon-from-ico=assets/icon.ico main.py
# Linux
nuitka --standalone --onefile main.py
# macOS
nuitka --standalone --onefile main.pyThe project includes a GitHub Actions workflow that automatically builds binaries for all platforms when you push a tag:
git tag v1.0.0
git push origin v1.0.0This will create a new release with binaries for Windows, Linux, and macOS.
- Language: Python 3.11+
- Dependencies:
requests- HTTP clientrich- Terminal UI
- Build Tool: Nuitka (Python to C compiler)
.
├── main.py # Main application
├── requirements.txt # Python dependencies
├── assets/
│ ├── icon.ico # Windows icon
│ └── icon.png # PNG icon
└── .github/
└── workflows/
└── build.yml # CI/CD workflow
MIT License
While the MIT License gives you full freedom to use this code, I would greatly appreciate it if you could mention my contribution when you use this code in your open-source projects. It's not a requirement, but it would mean a lot to me and serve as encouragement for my future work.
Thank you for respecting the effort put into this project!