Nhentai().id_exists() - exentio/nhentai_api GitHub Wiki

Nhentai().id_exists(book_id)

Checks the existence of a book by ID.

Returns a bool.

Example:

>>> Nhentai().id_exists(177013)
True

>>> Nhentai().id_exists(200000)
False

>>> Nhentai().id_exists("qtgothgf")
False