namespace Jackett.Common.Models.IndexerConfig { public class ConfigurationDataCookie : ConfigurationData { public StringConfigurationItem Cookie { get; private set; } public DisplayInfoConfigurationItem CookieInstructions { get; private set; } public DisplayInfoConfigurationItem Instructions { get; private set; } public ConfigurationDataCookie(string instructionMessageOptional = null) { Cookie = new StringConfigurationItem("Cookie"); CookieInstructions = new DisplayInfoConfigurationItem("Cookie Instructions", "Please enter the cookie for the site manually. See here on how get the cookies." + "
Example cookie header (usually longer than this):
PHPSESSID=8rk27odm; ipsconnect_63ad9c=1; more_stuff=etc;"); Instructions = new DisplayInfoConfigurationItem("", instructionMessageOptional); } } }