mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
shazbat: refactor search and parsing (#13979)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||
{
|
||||
[ExcludeFromCodeCoverage]
|
||||
internal class ConfigurationDataShazbat : ConfigurationDataBasicLoginWithRSS
|
||||
{
|
||||
public SingleSelectConfigurationItem ShowPagesFetchLimit { get; private set; }
|
||||
|
||||
public DisplayInfoConfigurationItem ShowPagesFetchLimitInstructions { get; private set; }
|
||||
|
||||
public ConfigurationDataShazbat()
|
||||
{
|
||||
ShowPagesFetchLimit = new SingleSelectConfigurationItem(
|
||||
"Show Pages Fetch Limit (sub-requests when searching)",
|
||||
new Dictionary<string, string>
|
||||
{
|
||||
{"1", "1"},
|
||||
{"2", "2"},
|
||||
{"3", "3"},
|
||||
{"4", "4"},
|
||||
{"5", "5"}
|
||||
})
|
||||
{ Value = "2" };
|
||||
|
||||
ShowPagesFetchLimitInstructions = new DisplayInfoConfigurationItem("Show Pages Fetch Limit Warning", "Higher values may risk your account being flagged for bot activity when used with automation software such as Sonarr.");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user