Fixed: Rargb failing when imdbid is not found

Fixes #1845, Fixes #2319
pull/2/head
Leonardo Galli 7 years ago
parent 53e6fa7cf1
commit 18c622de40

@ -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;
}

Loading…
Cancel
Save