Private GIT

Skip to content
Snippets Groups Projects
Commit 80686c81 authored by flightlevel's avatar flightlevel
Browse files

Merge pull request #236 from flightlevel/bitmetvinfo

BitMeTv: Add instructions
parents e7cc1471 189483b2
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ namespace Jackett.Indexers ...@@ -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 ...@@ -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 = "" };
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment