diff --git a/changelog.md b/changelog.md index 9cd0bcb..52c2426 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,9 @@ # NZB Hydra changelog ---------- +### 0.2.228 +Changed: Properly report when API hit limit reached at omgwtfnzbs.org. + ### 0.2.227 Fixed: Dereferer not used for NZB details links. See [#653](https://github.com/theotherp/nzbhydra/issues/653). diff --git a/nzbhydra/searchmodules/newznab.py b/nzbhydra/searchmodules/newznab.py index afb0684..ec60a31 100644 --- a/nzbhydra/searchmodules/newznab.py +++ b/nzbhydra/searchmodules/newznab.py @@ -28,6 +28,8 @@ def check_auth(body, indexer): + if "Request limit reached" in body or "Daily Hits limit reached" in body: + raise IndexerApiLimitReachedException("API limit reached", indexer) if '