mirror of https://github.com/Jackett/Jackett
core: improve cookie configuration help (#7293)
This commit is contained in:
parent
5a02bb9c27
commit
d806bb18a2
|
@ -4,21 +4,16 @@ namespace Jackett.Common.Models.IndexerConfig
|
||||||
public class ConfigurationDataCookie : ConfigurationData
|
public class ConfigurationDataCookie : ConfigurationData
|
||||||
{
|
{
|
||||||
public StringItem Cookie { get; private set; }
|
public StringItem Cookie { get; private set; }
|
||||||
public DisplayItem CookieHint { get; private set; }
|
public DisplayItem CookieInstructions { get; private set; }
|
||||||
public DisplayItem CookieExample { get; private set; }
|
|
||||||
|
|
||||||
public ConfigurationDataCookie()
|
public ConfigurationDataCookie()
|
||||||
{
|
{
|
||||||
Cookie = new StringItem { Name = "Cookie" };
|
Cookie = new StringItem { Name = "Cookie" };
|
||||||
CookieHint = new DisplayItem(
|
CookieInstructions = 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>")
|
"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 = "CookieHint"
|
Name = "Cookie Instructions"
|
||||||
};
|
|
||||||
CookieExample = new DisplayItem(
|
|
||||||
"Example cookie header (usually longer than this):<br><code>PHPSESSID=8rk27odm; ipsconnect_63ad9c=1; more_stuff=etc;</code>")
|
|
||||||
{
|
|
||||||
Name = "CookieExample"
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue