namespace Jackett.Common.Models.IndexerConfig { public class ConfigurationDataCookie : ConfigurationData { public StringItem Cookie { get; private set; } public DisplayItem CookieInstructions { get; private set; } public DisplayItem Instructions { get; private set; } public ConfigurationDataCookie(string instructionMessageOptional = null) { Cookie = new StringItem { Name = "Cookie" }; CookieInstructions = new DisplayItem( "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;") { Name = "Cookie Instructions" }; Instructions = new DisplayItem(instructionMessageOptional) { Name = "" }; } } }