mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 22:07:32 -04:00
New: (Cardigann) AllowRawSearch Property
This commit is contained in:
parent
9eba50d9db
commit
25bb10d62b
2 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,7 @@ namespace NzbDrone.Core.Indexers.Cardigann
|
|||
public Dictionary<string, string> Categories { get; set; }
|
||||
public List<CategorymappingBlock> Categorymappings { get; set; }
|
||||
public Dictionary<string, List<string>> Modes { get; set; }
|
||||
public bool AllowRawSearch { get; set; }
|
||||
}
|
||||
|
||||
public class CaptchaBlock
|
||||
|
|
|
@ -97,6 +97,7 @@ namespace NzbDrone.Core.Indexers
|
|||
definition.Privacy = defFile.Type == "private" ? IndexerPrivacy.Private : IndexerPrivacy.Public;
|
||||
definition.Capabilities = new IndexerCapabilities();
|
||||
definition.Capabilities.ParseCardigannSearchModes(defFile.Caps.Modes);
|
||||
definition.Capabilities.SupportsRawSearch = defFile.Caps.AllowRawSearch;
|
||||
MapCardigannCategories(definition, defFile);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue