2020-11-04 21:23:34 +00:00
using System.Diagnostics.CodeAnalysis ;
2020-08-17 17:49:30 +00:00
namespace Jackett.Common.Models.IndexerConfig.Bespoke
2018-11-12 17:24:02 +00:00
{
2020-11-04 21:23:34 +00:00
[ExcludeFromCodeCoverage]
internal class ConfigurationDataMyAnonamouse : ConfigurationData
2018-11-12 17:24:02 +00:00
{
2021-03-16 23:29:26 +00:00
public StringConfigurationItem MamId { get ; private set ; }
public DisplayInfoConfigurationItem MamIdHint { get ; private set ; }
public BoolConfigurationItem ExcludeVip { get ; private set ; }
public DisplayInfoConfigurationItem Instructions { get ; private set ; }
2018-11-12 17:24:02 +00:00
public ConfigurationDataMyAnonamouse ( )
{
2021-03-16 23:29:26 +00:00
MamId = new StringConfigurationItem ( "mam_id" ) ;
MamIdHint = new DisplayInfoConfigurationItem ( "mam_id instructions" , "Go to your <a href=\"https://www.myanonamouse.net/preferences/index.php?view=security\" target=\"_blank\">security preferences</a> and create a new session for the IP used by the Jackett server. Then paste the resulting mam_id value into the mam_id field here." ) ;
ExcludeVip = new BoolConfigurationItem ( "Exclude VIP torrents" ) ;
Instructions = new DisplayInfoConfigurationItem ( "" , "For best results, change the 'Torrents per page' setting to 100 in your Profile => Torrent tab." ) ;
2018-11-12 17:24:02 +00:00
}
}
}