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
Metadata
Release files for nhdl 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nhdl-0.2.2.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nhdl-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / nhdl-0.2.2.tar.gz
| Download URL | nhdl-0.2.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88293fa1000e99fa0a0eac6baa813049715cdf27c5e9b3a78e4650de618b643b
|
|
BLAKE2b-256 checksum How to use checksums |
70148887d39692fde711aba89c69835a5cd5fb1834d1cb1f3f4f03cacc67464d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / nhdl-0.2.2-py3-none-any.whl
| Download URL | nhdl-0.2.2-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14456f5529b42dbdbd61ca59d41612eb46e6b75b8ce21b0d3a0318ea6fc80618
|
|
BLAKE2b-256 checksum How to use checksums |
62907e597a6a72f84c9ff7add8f7b7325db850afef1bd4e99564f77e8a0d4605
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|