a lightweight Python tool for downloading galleries from nhentai and converting them into PDF files
Project description
About
- Author: shrimp2845
- Version: 0.2.1
- 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nhdl-0.2.1.tar.gz.
File metadata
- Download URL: nhdl-0.2.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de136f8e1ed145214e502375abb079ace6968844a98c6905dffa69f32cb5a0a4
|
|
| MD5 |
7e39dfee745005ca025110f4a4ae9530
|
|
| BLAKE2b-256 |
3ee006f43176922cf30a9deb73bfda86cefacf07ec5afc0809c971656579021c
|
File details
Details for the file nhdl-0.2.1-py3-none-any.whl.
File metadata
- Download URL: nhdl-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0239b9a9b01d343e821633713328ff6d8307dcf0875127049c001313cd7be59d
|
|
| MD5 |
65103a057440c49bf5d9dfc6fb8616ff
|
|
| BLAKE2b-256 |
18971de8c910e5a1aea56bae91b8363c486c9736408261a2c4de917a0a79eaac
|