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

27 lines
966 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 CookieHint { get; private set; }
public DisplayItem CookieExample { get; private set; }
public ConfigurationDataCookie()
{
Cookie = new StringItem { Name = "Cookie" };
CookieHint = new DisplayItem(
"<ol><li>Login to this tracker in your browser <li>Open the developer console, go the network tab <li>Find 'cookie' in the request headers <li>Copy & paste it to here</ol>")
2015-07-13 02:01:02 +00:00
{
Name = "CookieHint"
};
CookieExample = new DisplayItem(
"Example cookie header (usually longer than this):<br><code>PHPSESSID=8rk27odm; ipsconnect_63ad9c=1; more_stuff=etc;</code>")
{
Name = "CookieExample"
};
}
}
}