mirror of https://github.com/Jackett/Jackett
Merge pull request #236 from flightlevel/bitmetvinfo
BitMeTv: Add instructions
This commit is contained in:
commit
80686c81ee
|
@ -42,7 +42,7 @@ namespace Jackett.Indexers
|
||||||
client: c,
|
client: c,
|
||||||
logger: l,
|
logger: l,
|
||||||
p: ps,
|
p: ps,
|
||||||
configData: new ConfigurationDataCaptchaLogin())
|
configData: new ConfigurationDataCaptchaLogin("Ensure that you have the 'Force SSL' option set to 'yes' in your profile on the BitMeTv webpage."))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,13 +18,17 @@ namespace Jackett.Models.IndexerConfig
|
||||||
|
|
||||||
public HiddenItem CaptchaCookie { get; private set; }
|
public HiddenItem CaptchaCookie { get; private set; }
|
||||||
|
|
||||||
public ConfigurationDataCaptchaLogin()
|
public DisplayItem Instructions { get; private set; }
|
||||||
|
|
||||||
|
/// <param name="instructionMessageOptional">Enter any instructions the user will need to setup the tracker</param>
|
||||||
|
public ConfigurationDataCaptchaLogin(string instructionMessageOptional = null)
|
||||||
{
|
{
|
||||||
Username = new StringItem { Name = "Username" };
|
Username = new StringItem { Name = "Username" };
|
||||||
Password = new StringItem { Name = "Password" };
|
Password = new StringItem { Name = "Password" };
|
||||||
CaptchaImage = new ImageItem { Name = "Captcha Image" };
|
CaptchaImage = new ImageItem { Name = "Captcha Image" };
|
||||||
CaptchaText = new StringItem { Name = "Captcha Text" };
|
CaptchaText = new StringItem { Name = "Captcha Text" };
|
||||||
CaptchaCookie = new HiddenItem("") { Name = "Captcha Cookie" };
|
CaptchaCookie = new HiddenItem("") { Name = "Captcha Cookie" };
|
||||||
|
Instructions = new DisplayItem(instructionMessageOptional) { Name = "" };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue