mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
BaseIndexer: fix potato API
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user