From 07247a65102bbf7304a7d622b6cd9a9e742026f1 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Thu, 22 Sep 2022 14:14:48 -0500 Subject: [PATCH] Fixed (RarBG): Improve Error Handling --- .../Indexers/Definitions/Rarbg/RarbgParser.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/Definitions/Rarbg/RarbgParser.cs b/src/NzbDrone.Core/Indexers/Definitions/Rarbg/RarbgParser.cs index 690c82d6d2b..9c324511b94 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/Rarbg/RarbgParser.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/Rarbg/RarbgParser.cs @@ -39,11 +39,12 @@ public IList ParseResponse(IndexerResponse indexerResponse) if (jsonResponse.Resource.error_code.HasValue) { - if (jsonResponse.Resource.error_code == 20 || jsonResponse.Resource.error_code == 8 + if (jsonResponse.Resource.error_code == 5 || jsonResponse.Resource.error_code == 8 || jsonResponse.Resource.error_code == 9 || jsonResponse.Resource.error_code == 10 - || jsonResponse.Resource.error_code == 5) + || jsonResponse.Resource.error_code == 13 || jsonResponse.Resource.error_code == 14 + || jsonResponse.Resource.error_code == 20) { - // No results, rate limit, or imdbid not found + // No results, rate limit, tmdbid not found/invalid, or imdbid not found/invalid return results; }