From 18c622de409c91011492ca7efe25cd3b105c2652 Mon Sep 17 00:00:00 2001 From: Leonardo Galli Date: Tue, 30 Jan 2018 12:53:36 +0100 Subject: [PATCH] Fixed: Rargb failing when imdbid is not found Fixes #1845, Fixes #2319 --- src/NzbDrone.Core/Indexers/Rarbg/RarbgParser.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/Rarbg/RarbgParser.cs b/src/NzbDrone.Core/Indexers/Rarbg/RarbgParser.cs index 61395a5b2..15cd05c4a 100644 --- a/src/NzbDrone.Core/Indexers/Rarbg/RarbgParser.cs +++ b/src/NzbDrone.Core/Indexers/Rarbg/RarbgParser.cs @@ -29,9 +29,10 @@ namespace NzbDrone.Core.Indexers.Rarbg if (jsonResponse.Resource.error_code.HasValue) { - if (jsonResponse.Resource.error_code == 20 || jsonResponse.Resource.error_code == 8) + if (jsonResponse.Resource.error_code == 20 || jsonResponse.Resource.error_code == 8 + || jsonResponse.Resource.error_code == 9 || jsonResponse.Resource.error_code == 10) { - // No results found + // No results or imdbid not found return results; }