exhentai_gallery
a simple method to get all image in an exhentai gallery.
Installation
pip install exhentai_gallery
Usage
If you have an exhentai account, use exhentai (slower):
from exhentai_gallery import exhentai_get_image_links
from exhentai_gallery import get_exhentai_cookie
from exhentai_gallery import ImageParallelDownloader
# First page URL of the gallery
gallery_url = "https://exhentai.org/s/f45e2977ea/3884442-1"
# Retrieve all image links (stored in list)
# You must fill in chrome.exe and chromedriver.exe if you are accessing exhentai
image_links = exhentai_get_image_links(
gallery_url,
r"D:\ProgramData\chrome-win64\chrome.exe",
r"D:\ProgramData\chromedriver-win64\chromedriver.exe",
link_call_back=print,
cookies=get_exhentai_cookie(
ipb_member_id="...",
ipb_pass_hash="...",
igneous="..."
),
encoding="utf-8")
ImageParallelDownloader(image_links, "./img/").download_all()
If you do not have an exhentai account, use e-hentai:
from exhentai_gallery import exhentai_get_image_links
from exhentai_gallery import ImageParallelDownloader
gallery_url = "https://e-hentai.org/s/89212e7849/3885016-1"
# Retrieve all image links (stored in list)
# You do not need to fill in chrome.exe and chromedriver.exe if you are accessing e-hentai
image_links = exhentai_get_image_links(
gallery_url,
r"D:\ProgramData\chrome-win64\chrome.exe",
r"D:\ProgramData\chromedriver-win64\chromedriver.exe",
link_call_back=print,
encoding="utf-8")
ImageParallelDownloader(image_links, "./img/").download_all()
Metadata
Release files for exhentai-gallery 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| exhentai_gallery-0.1.3.tar.gz | 8.2 kB | Without provenance | Details for exhentai_gallery-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| exhentai_gallery-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for exhentai_gallery-0.1.3-py3-none-any.whl |
Total release size: 18.5 kB
Release files / exhentai_gallery-0.1.3.tar.gz
| Download URL | exhentai_gallery-0.1.3.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
958ef6387a523e8e8ebb8574d900e39edc298f9b30aeca8086746a2cc82b2608
|
|
BLAKE2b-256 checksum How to use checksums |
0a0fc6240f955f7b9c76c486fbe034fb486863153ccd4ec9bd8d02d577a02a79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.13.12 Windows/11
|
Release files / exhentai_gallery-0.1.3-py3-none-any.whl
| Download URL | exhentai_gallery-0.1.3-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8aa8560b0cc00a8b777fb4a45a0364711cb31bc6743b005018987742ed8d884f
|
|
BLAKE2b-256 checksum How to use checksums |
0a66f535eea1f223e0d5d8a034ef1d7ac5062f28e43a15a4faed02d970739b6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.13.12 Windows/11
|
Security for exhentai-gallery 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.