nhpdf 1.2__tar.gz → 1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nhpdf-1.2 → nhpdf-1.6}/PKG-INFO +2 -2
- {nhpdf-1.2 → nhpdf-1.6}/README.md +1 -1
- {nhpdf-1.2 → nhpdf-1.6}/pyproject.toml +1 -1
- {nhpdf-1.2 → nhpdf-1.6}/src/nhpdf/nhpdf.py +1 -1
- {nhpdf-1.2 → nhpdf-1.6}/.gitignore +0 -0
- {nhpdf-1.2 → nhpdf-1.6}/LICENSE +0 -0
- {nhpdf-1.2 → nhpdf-1.6}/src/nhpdf/__init__.py +0 -0
- {nhpdf-1.2 → nhpdf-1.6}/test.py +0 -0
{nhpdf-1.2 → nhpdf-1.6}/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nhpdf
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.6
|
4
4
|
Summary: Download NHentai doujins as PDF
|
5
5
|
Project-URL: Homepage, https://github.com/Aze543/NhentaiDoujinToPDFMaker
|
6
6
|
Project-URL: Issues, https://github.com/Aze543/NhentaiDoujinToPDFMaker/issues
|
@@ -148,7 +148,7 @@ Type the code of the nhentai doujin you want, then let the magic happen. The PDF
|
|
148
148
|
|
149
149
|
**GitHub Repo**: [NhentaiDoujinToPDFMaker](https://github.com/Aze543/NhentaiDoujinToPDFMaker)
|
150
150
|
|
151
|
-
You can download
|
151
|
+
You can download the script version from the **[Releases](https://github.com/Aze543/NhentaiDoujinToPDFMaker/releases)** page.
|
152
152
|
|
153
153
|
---
|
154
154
|
|
@@ -130,7 +130,7 @@ Type the code of the nhentai doujin you want, then let the magic happen. The PDF
|
|
130
130
|
|
131
131
|
**GitHub Repo**: [NhentaiDoujinToPDFMaker](https://github.com/Aze543/NhentaiDoujinToPDFMaker)
|
132
132
|
|
133
|
-
You can download
|
133
|
+
You can download the script version from the **[Releases](https://github.com/Aze543/NhentaiDoujinToPDFMaker/releases)** page.
|
134
134
|
|
135
135
|
---
|
136
136
|
|
@@ -29,7 +29,7 @@ def loading_animation() -> NoReturn:
|
|
29
29
|
def download_image(raw_url: str) -> bytes:
|
30
30
|
global pages, page
|
31
31
|
page += 1
|
32
|
-
img_code, f_type = re.search(r'/(\d+)', raw_url['data-src']).group(), re.search(r'\b(.(jpg|jpeg|png|webp))\b', raw_url['data-src']).group()
|
32
|
+
img_code, f_type = re.search(r'/(\d+)', raw_url['data-src']).group(), re.search(r'\b(.(jpg|jpeg|png|webp|gif|tiff|svg))\b', raw_url['data-src']).group()
|
33
33
|
url = f'https://i3.nhentai.net/galleries{img_code}/{page}{f_type}'
|
34
34
|
response = requests.get(url)
|
35
35
|
if response.status_code == 200:
|
File without changes
|
{nhpdf-1.2 → nhpdf-1.6}/LICENSE
RENAMED
File without changes
|
File without changes
|
{nhpdf-1.2 → nhpdf-1.6}/test.py
RENAMED
File without changes
|