Rarbg: add support for unknown IMDB IDs

This commit is contained in:
kaso17 2017-06-25 17:37:33 +02:00
parent 2807a71e0e
commit 8bd7233756
1 changed files with 4 additions and 0 deletions

View File

@ -174,6 +174,10 @@ namespace Jackett.Indexers
return releases.ToArray();
}
// return empty results in case of invalid imdb ID, see issue #1486
if (errorCode == 10) // Cant find imdb in database. Are you sure this imdb exists?
return releases;
if (errorCode > 0) // too many requests per second
{
// we use the IwebClient rate limiter now, this shouldn't happen