nhpdf 1.5__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.5 → nhpdf-1.6}/PKG-INFO +1 -1
- {nhpdf-1.5 → nhpdf-1.6}/pyproject.toml +1 -1
- {nhpdf-1.5 → nhpdf-1.6}/src/nhpdf/nhpdf.py +1 -1
- {nhpdf-1.5 → nhpdf-1.6}/.gitignore +0 -0
- {nhpdf-1.5 → nhpdf-1.6}/LICENSE +0 -0
- {nhpdf-1.5 → nhpdf-1.6}/README.md +0 -0
- {nhpdf-1.5 → nhpdf-1.6}/src/nhpdf/__init__.py +0 -0
- {nhpdf-1.5 → nhpdf-1.6}/test.py +0 -0
{nhpdf-1.5 → nhpdf-1.6}/PKG-INFO
RENAMED
@@ -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.5 → nhpdf-1.6}/LICENSE
RENAMED
File without changes
|
File without changes
|
File without changes
|
{nhpdf-1.5 → nhpdf-1.6}/test.py
RENAMED
File without changes
|