Skip to main content

Download NHentai doujins as PDF

Project description

NHENTAI DOUJIN-TO-PDF MAKER

A disgusting Python script that compiles doujins from nhentai.net into PDFs for offline gooning.

This app has two flavors:


🧱 Flavor 1: CLI Tool (nhpdf)

A command-line interface you can run from anywhere:

nhpdf <doujin-code>

Example:

nhpdf 566212
nhpdf 566212 563102 345987

🔧 How to Install (CLI Version)

You can install the CLI tool in two ways:

Option 1: From PyPI

pip install nhpdf

Option 2: Locally (Development)

If you’ve cloned this repo:

cd NhentaiDoujinToPDFMaker
pip install .

Now you can run it with:

nhpdf 566212

🐍 Flavor 2: Raw Python Script (main.py)

If you prefer to run it like a normal Python script:

python main.py
# or
python3 main.py

📥 How to Set Up (Script Version)

These instructions focus on macOS, but should work on Windows too (with small changes).

1. Install Python

Search how to install Python for your OS.

Check if Python is installed:

  • Windows:

    python
    
  • macOS:

    python3
    

You should get a Python REPL (interactive shell).


2. Install Required Packages

Navigate to the project directory (where main.py and requirements.txt live):

  • Windows:

    cd path\to\your\folder
    dir  # list files
    
  • macOS/Linux:

    cd /path/to/your/folder
    ls  # list files
    

Then install dependencies:

pip install -r requirements.txt

3. Run the Script

python main.py
# or
python3 main.py

You should see:

NHENTAI DOUJIN-TO-PDF MAKER

✅ You’re good to go!


🧙 How to Use

Type the code of the nhentai doujin you want, then let the magic happen. The PDF will be saved to your Documents/nhpdf/ folder.


⚠️ This script only works with nhentai.net


🔗 Download

GitHub Repo: NhentaiDoujinToPDFMaker

You can download either version from the Releases page.


Enjoy responsibly 😅

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nhpdf-1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nhpdf-1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file nhpdf-1.0.tar.gz.

File metadata

  • Download URL: nhpdf-1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for nhpdf-1.0.tar.gz
Algorithm Hash digest
SHA256 e2ab39ffca03d4a2265ff9ee19be8a4b7b147a0a547bbaa288db4818cbc3c3d9
MD5 76758ee9e7d31dce15dd6a6394ab2d96
BLAKE2b-256 f8d64956d3130c965c8de840468250ac6841ebbe75ce67a9c149b864729d56a2

See more details on using hashes here.

File details

Details for the file nhpdf-1.0-py3-none-any.whl.

File metadata

  • Download URL: nhpdf-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for nhpdf-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ae702b43af7feb3098fdbcc94b7f9fb1972be6c9237d8c3fc444a007028c242
MD5 94a976eae979f386fcd4fa4cc90eeeba
BLAKE2b-256 e5de9397281f77706bffbcd8bb5b30e1a5f092de9eb42048ae6d5eebcb1b1c19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page