core: remove recaptcha legacy code. resolves #8268 (#10111)

This commit is contained in:
Diego Heras
2020-11-05 03:19:09 +01:00
committed by GitHub
parent 938315cebd
commit ed9d0a8328
13 changed files with 59 additions and 474 deletions

View File

@@ -3,22 +3,14 @@ using System.Diagnostics.CodeAnalysis;
namespace Jackett.Common.Models.IndexerConfig.Bespoke
{
[ExcludeFromCodeCoverage]
internal class ConfigurationDataSceneTime : ConfigurationData
internal class ConfigurationDataSceneTime : ConfigurationDataCookie
{
public StringItem Username { get; private set; }
public StringItem Password { get; private set; }
public RecaptchaItem Captcha { get; private set; }
public BoolItem Freeleech { get; private set; }
public DisplayItem Instructions { get; private set; }
public ConfigurationDataSceneTime()
: base()
: base("For best results, change the 'Torrents per page' setting to the maximum in your profile on the SceneTime webpage.")
{
Username = new StringItem { Name = "Username" };
Password = new StringItem { Name = "Password" };
Captcha = new RecaptchaItem() { Name = "Recaptcha" };
Freeleech = new BoolItem() { Name = "Freeleech Only (Optional)", Value = false };
Instructions = new DisplayItem("For best results, change the 'Torrents per page' setting to the maximum in your profile on the SceneTime webpage.") { Name = "" };
}
}
}