Skip to main content

Pyrogram
NHentai API Wrapper for Python
Down/Week Release LICENSE

Usage for asynchronous

from NHentaidesu import DoujinClient
import asyncio

nh = DoujinClient()

async def main():
    res = await nh.info(332957)
    print(res)

asyncio.get_event_loop().run_until_complete(main())

Usage for synchronous

from NHentaidesu import DoujinClient

nh = DoujinClient()
res = nh.info(332957)
print(res)

Usage for login

from NHentaidesu import DoujinClient

nh = DoujinClient(csrf_token="YOUR_CSRF_TOKEN", session_id="YOUR_SESSION_ID", use_proxy=True)
# if you unable to download/render the image set use_proxy to True
# use_proxy is just using a Duckduckgo image URL.

Features

  • Hybrid: Supported bot asynchronous and synchronous runtime.
  • Download: You can download doujinshi and user avatar.
  • Complete: This library is complete, but if you see any missing you can open issue.
  • Typed-code: Function and object are typed.

Question

  • Q: How do I get my csrf_token and session_id?
  • A: You can get it from developer tools in your PC or laptop browser.
  • Q: Why am I receiving ImportError: failed to find libmagic. Check your installation?
  • A: You can solve it by installing libmagic. See stackoverflow

Requirements

  • Python 3.6 or higher

Support

  • You can support this library by giving a star
  • If you want to donate me you can contact me in Telegram.

Copyright

Copyright (c) 2021 Kiizuha

Release files for NHentaidesu 1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for NHentaidesu 1.9
File Size Uploaded
NHentaidesu-1.9.tar.gz 10.9 kB Details

Release files / NHentaidesu-1.9.tar.gz

Download URL NHentaidesu-1.9.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
88469ee6c5fb8fbd1fa3da3953c7a2a08261188db1611fdb9bcff945308598f0
BLAKE2b-256 checksum
How to use checksums
06a0f58fae15be959cabbdf921cc44fa5403aa23be8001d105c8b3b9cf45badd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

1.9 This release

1 release file

1.8

1 release file

1.7

1 release file

1.6

1 release file

1.5

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page