Pysaucenao

Latest version: v1.6.2

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

Scan your dependencies

Page 3 of 4

1.1.0

Added
* Adds a new `test()` method to SauceNao, which can be used to query SauceNao for how many API queries your API key has remaining, as well as for getting the account type of a supplied API key.

Keep in mind, however, test queries currently still count towards your API limits.

Fixed
* Resolved a `__repr__` bug for MangaSource container objects

1.0.2

Changed
* Improved exception handling (more verbose messages for debugging API issues)

1.0.1

Fixes
* We don't have all the possible status codes returned by SauceNao yet (See 4). Disabling strict mode exceptions for unknown status codes for now.

1.0.0

Added
* Several new error classes have been added (ImageSizeException, InvalidImageException, TooManyFailedRequestsException, BannedException)

Fixed
* An InvalidOrWrongApiKeyException was not being thrown even when an invalid API key was provided. Technically, the library can still work even without a valid API key (up to 100 daily queries), but this was unintended behavior and has been fixed.

This exception will not be thrown if `strict_mode` is disabled.

* Resolved potential errors within the libraries exception handling when an error message is not returned by SauceNao

Changed
* Strict mode is now enabled by default
* Default minimum similarity reduced from 65.0 to 50.0

0.2.2

Fixed
Resolves an issue where `source_url` might erroneously return blank for some Booru results.

0.2.1

Fixed
Non-zero status codes do not return error messages, and do not necessarily mean the request failed, just that some indexes may be offline.

This release fixes an error that will cause these requests to fail entirely and have PySauceNao throw an exception when trying to read an error message that doesn't exist in this scenario.

The new default behavior is to always return saucenao results, even if an index if offline. If you want SauceNao to continue throwing exceptions in this scenario, enable strict mode by passing `strict_mode=True` when initializing SauceNao.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.