Hhaven

Latest version: v0.1.4

Safety actively analyzes 681926 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.4

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.

0.1.3

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
- The library now supports caching using [aiocache](https://github.com/aio-libs/aiocache).
- Added ability to enable requests debugging.
- Objects are now returned as Pydantic Models.
- New [documentation](https://jokelbaf.github.io/hhaven) using [mkdocs](https://www.mkdocs.org/).
- New [API Reference](https://jokelbaf.github.io/hhaven-api-reference) using [pdoc](https://github.com/pdoc3/pdoc).

Improvements
Nothing here since this is a first release.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.