Skip to content

Releases: jokelbaf/hhaven

v0.1.4

21 Jul 14:56
Compare
Choose a tag to compare

New features

List of new features added to library in this release.

Models

  • HentaiEpisode - Added content attribute with url to m3u8 file of the episode.

Other

  • Fixed bug with key error when using HentaiEpisode.full() method.

Improvements

Nothing here.

v0.1.3

18 Jul 13:13
Compare
Choose a tag to compare

New features

List of new features added to library in this release.

Classes

  • Client - Main class. All requests must be made through it.

Methods

  • Client.build() - Use this function to build a client.
  • Client.home() - Get home page info.
  • Client.search() - Search for hentai.
  • Client.get_hentai() - Get full hentai info using it's ID.
  • Client.get_episode() - Get full hentai episode info.
  • Client.get_all_genres() - Get list of all hentai genres.
  • Client.get_genre_page() - Get page with list of hentai of the requested genre.
  • Client.get_all_hentai() - Get page of all available hentai on the website.
  • Client.get_new_token() - Obtain new Cloudflare token.

Exceptions

  • HHavenException - Base Hentai Haven exception.
  • HHavenRateLimited - You were rate limited. Please try again later.
  • HHavenNotFound - Requested resource does not exist.
  • TokenException - Invalid Hentai Haven token.
  • HentaiNotFound - Unable to find hentai with the ID you provided.
  • GenrePageNotFound - Unable to find genre page with the ID and index you provided.
  • HentaiPageNotFound - Unable to find hentai page with this index.
  • HentaiEpisodeNotFound - Unable to find hentai episode with the IDs you provided.

Other

Improvements

Nothing here since this is a first release.