Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

E-Hentai Downloader

中文文档

A fast, multi-threaded E-Hentai gallery downloader with a beautiful terminal interface.

Features

  • 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)

Installation

From Source

# 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.py

Pre-built Binaries

Download the latest release from the Releases page.

Usage

  1. Run the program:

    python main.py
  2. Follow the interactive prompts:

    • Enter the gallery URL (e.g., https://e-hentai.org/g/3579116/03a3621862/)
    • Enter the output directory (default: output)
  3. The program will:

    • Fetch all page links from the gallery
    • Extract image URLs from each page
    • Download all images to the specified directory

Building from Source

Local Build

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.py

GitHub Actions

The 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.0

This will create a new release with binaries for Windows, Linux, and macOS.

Technical Details

  • Language: Python 3.11+
  • Dependencies:
    • requests - HTTP client
    • rich - Terminal UI
  • Build Tool: Nuitka (Python to C compiler)

Project Structure

.
├── main.py              # Main application
├── requirements.txt     # Python dependencies
├── assets/
│   ├── icon.ico        # Windows icon
│   └── icon.png        # PNG icon
└── .github/
    └── workflows/
        └── build.yml   # CI/CD workflow

License

MIT License

A Personal Request

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!


中文文档

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages