mirror of https://github.com/Jackett/Jackett
24 lines
1007 B
C#
24 lines
1007 B
C#
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. <a href=\"https://github.com/Jackett/Jackett/wiki/Finding-cookies\" target=\"_blank\">See here</a> on how get the cookies." +
|
|
"<br>Example cookie header (usually longer than this):<br><code>PHPSESSID=8rk27odm; ipsconnect_63ad9c=1; more_stuff=etc;</code>")
|
|
{
|
|
Name = "Cookie Instructions"
|
|
};
|
|
Instructions = new DisplayItem(instructionMessageOptional) { Name = "" };
|
|
}
|
|
}
|
|
|
|
}
|