Skip to main content

a lightweight Python tool for downloading galleries from nhentai and converting them into PDF files

Project description

About

  • Author: shrimp2845
  • Version: 0.1.0
  • License: MIT

nhdl is a lightweight Python tool for downloading galleries from nhentai and converting them into PDF files.

This project is designed for learning purposes.(No one is going to believe me though XD)

Feature

  • Downloading by gallery ID or URL
  • Progress display using tqdm
  • Converting images into a PDF

Installation & Usage

Install

Requires Python 3.8+

pip install nhdl

Usage

python -c "from nhdl import download; download('id or url')"

Docs

methods
----------------------
download(book, rest=2.0, retry=3)
Download a nhentai doujin from url or id
book -> url or id
rest -> optional arg, time interval between optional arg, downloading two pages
retry -> times to retry if disconnect while downloading a page

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

nhdl-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

nhdl-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file nhdl-0.1.0.tar.gz.

File metadata

  • Download URL: nhdl-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for nhdl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1e9acba2091feb43818ce58f1064e847bf66e36a79e5112ee558f7baca88e892
MD5 88a6b1cb0a46c51cc39e4d6105201bac
BLAKE2b-256 104a4f757d264ba9229a904a4074a12ff93bb55d388ccef8ec7f322f6b422f69

See more details on using hashes here.

File details

Details for the file nhdl-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nhdl-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for nhdl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33c2abb12ae4123e0541071a256befd8cb0afc79f09494f79a137809cc5a6334
MD5 71ce9912937c03577beab371ef1b4146
BLAKE2b-256 e7937621f88c8cea0438cfff8087731f531b95abb3090a8f4f5285d41c53a26f

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