mirror of
https://github.com/Jackett/Jackett
synced 2025-02-24 07:10:44 +00:00
BaseIndexer: fix potato API
This commit is contained in:
parent
580eacdb18
commit
1b4826f966
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ namespace Jackett.Common.Indexers
|
||||||
return false;
|
return false;
|
||||||
if (caps.SupportsImdbSearch && query.IsImdbQuery)
|
if (caps.SupportsImdbSearch && query.IsImdbQuery)
|
||||||
return true;
|
return true;
|
||||||
else if(!caps.SupportsImdbSearch && query.IsImdbQuery)
|
else if(!caps.SupportsImdbSearch && query.IsImdbQuery && query.QueryType != "TorrentPotato") // potato query should always contain imdb+search term
|
||||||
return false;
|
return false;
|
||||||
if (caps.SearchAvailable && query.IsSearch)
|
if (caps.SearchAvailable && query.IsSearch)
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue