Jackett/src/Jackett.Common/Models/IndexerConfig/ConfigurationDataCookie.cs

22 lines
819 B
C#
Raw Normal View History

2020-02-09 02:35:16 +00:00
namespace Jackett.Common.Models.IndexerConfig
2015-07-13 02:01:02 +00:00
{
public class ConfigurationDataCookie : ConfigurationData
{
public StringItem Cookie { get; private set; }
public DisplayItem CookieInstructions { get; private set; }
2015-07-13 02:01:02 +00:00
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>")
2015-07-13 02:01:02 +00:00
{
Name = "Cookie Instructions"
2015-07-13 02:01:02 +00:00
};
}
}
}