Files
Jackett-Jackett/src/Jackett.Common/Models/IndexerConfig/ConfigurationDataCookie.cs
2020-02-23 08:31:38 +13:00

22 lines
819 B
C#

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