Skip to main content

Download gallery and insert into h2hdb

Project description

H@HDB Downloader (h2hdb-downloader)

Usage

Here's a quick example of how to use H@HDB Downloader:

from h2hdb_downloader import PreLinks, Downloader
from hbrowser import ExHDriver

gallery = GalleryURLParser("https://exhentai.org/g/123/456/")
prelinks = PreLinks()
with ExHDriver("username", "password", headless=True) as driver:
    downloader = Downloader(driver, prelinks)
    downloader.download_gallery(gallery)
    downloader.deep_download_gid(gallery,
        filters=["artist", "group"],
        conditions=["language:chinese$", "language:speechless$"],
        )
    downloader.download_gid(666) # download gid:666

License

This project is distributed under the terms of the GNU General Public Licence (GPL). For detailed licence terms, see the LICENSE file included in this distribution.

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

h2hdb_downloader-0.0.9.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

h2hdb_downloader-0.0.9-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file h2hdb_downloader-0.0.9.tar.gz.

File metadata

  • Download URL: h2hdb_downloader-0.0.9.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for h2hdb_downloader-0.0.9.tar.gz
Algorithm Hash digest
SHA256 27bbd0a066d29ea1cd032f9bb479fc2f727ad93d303fb186ce84034f0e9e8573
MD5 a6df7e54eb4c80e133ed7a61da07be29
BLAKE2b-256 dcea5a938079a26618e7e2261ecca5988fc98c36e69509844123ee9207a21656

See more details on using hashes here.

File details

Details for the file h2hdb_downloader-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for h2hdb_downloader-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bff425d8d147a3caab0c3811312a433cfa9b5cacc8c0fffa1d2d1e8cc2793e60
MD5 49ad2b846d6f954d9b9eb71bf16c0c3f
BLAKE2b-256 77510c9baa54e0b94f19b820587d2abb478df47a55ac6895eb7479b2ee5e5e75

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page