Skip to content
shrimp2845-twPublic

About

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

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

About

  • Author: shrimp2845
  • Version: 0.2.2
  • 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)

Dependencies

This project uses the following open-source libraries:

Feature

  • Downloading by gallery ID or URL
  • Progress display using tqdm
  • Converting images into a PDF
  • Optional compression to reduce file size

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, compress = False, rest=2.0, retry=3)
Download a nhentai doujin from url or id
book -> url or id
compress -> whether to compress the file
rest -> optional arg, time interval between downloading two pages
retry -> optional arg, times to retry if disconnect while downloading a page

About

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

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages