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.3.tar.gz (16.7 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.3-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: h2hdb_downloader-0.0.3.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for h2hdb_downloader-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0b2d47636194d1f89636e51c8be0a1c6d283e9d4a3fa79596b84081e3794cf05
MD5 418f79df829a05d25ae987eba0958d8d
BLAKE2b-256 75e9108502c1da1ca12ec31c671a8e13a5fc3bb3268e9b0a6c5bec570df1eb2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for h2hdb_downloader-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c6f93e8fe0250066d110f82d7085d3c8ac5052dbd31b4522f1b8282effd08ab4
MD5 5f7c78f030b4677b275b9146ac970c6a
BLAKE2b-256 e0079c2e9eabaa23089a5507a918ca5d6ff83320f071c4f3b59e9f5b25051faa

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