Metadata-Version: 2.4
Name: nhdl
Version: 0.1.0
Summary: a lightweight Python tool for downloading galleries from nhentai and converting them into PDF files
Author-email: shrimp2845 <goldencheng15@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/shrimp2845-tw/nhdl
Project-URL: Repository, https://github.com/shrimp2845-tw/nhdl
Keywords: python,downloader,pdf
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENCE.txt
Requires-Dist: requests
Requires-Dist: tqdm
Requires-Dist: Pillow
Requires-Dist: reportlab
Dynamic: license-file

## 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+
```bash
pip install nhdl
```
### Usage
```bash
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

```





