GazelleTracker: add support for IMDB search

This commit is contained in:
kaso17 2018-01-03 19:33:30 +01:00
parent 4942d429f0
commit 7193d6d28f
1 changed files with 6 additions and 1 deletions

View File

@ -100,7 +100,12 @@ namespace Jackett.Indexers.Abstract
queryCollection.Add("order_by", "time");
queryCollection.Add("order_way", "desc");
if (!string.IsNullOrWhiteSpace(searchString))
if (!string.IsNullOrWhiteSpace(query.ImdbID))
{
queryCollection.Add("cataloguenumber", query.ImdbID);
}
else if (!string.IsNullOrWhiteSpace(searchString))
{
queryCollection.Add("searchstr", searchString);
}