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