mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
28 lines
749 B
C#
28 lines
749 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Jackett.Models.IndexerConfig.Bespoke
|
|
{
|
|
public class ConfigurationDataRuTor : ConfigurationData
|
|
{
|
|
[JsonProperty]
|
|
public StringItem Url { get; private set; }
|
|
[JsonProperty]
|
|
public BoolItem StripRussian { get; private set; }
|
|
|
|
public ConfigurationDataRuTor()
|
|
{
|
|
}
|
|
|
|
public ConfigurationDataRuTor(string defaultUrl)
|
|
{
|
|
Url = new StringItem { Name = "Url", Value = defaultUrl };
|
|
StripRussian = new BoolItem() { Name = "StripRusNamePrefix", Value = true };
|
|
}
|
|
}
|
|
}
|