public ConfigurationDataBasicLoginWithRSSAndDisplay(string instructionMessageOptional = null)
 {
     Username     = new StringConfigurationItem("Username");
     Password     = new StringConfigurationItem("Password");
     RSSKey       = new HiddenStringConfigurationItem("RSSKey");
     Instructions = new DisplayInfoConfigurationItem("", instructionMessageOptional);
 }
コード例 #2
0
 public ConfigurationDataAbnormal()
     : base()
 {
     AuthKey = new HiddenStringConfigurationItem("AuthKey")
     {
         Value = ""
     };
     TorrentPass = new HiddenStringConfigurationItem("TorrentPass")
     {
         Value = ""
     };
     CredentialsWarning = new DisplayInfoConfigurationItem("Credentials", "<b>Credentials Configuration</b> (<i>Private Tracker</i>),<br /><br /> <ul><li><b>Username</b> is your account name on this tracker.</li><li><b>Password</b> is your password associated to your account name.</li></ul>");
     Username           = new StringConfigurationItem("Username")
     {
         Value = ""
     };
     Password = new StringConfigurationItem("Password")
     {
         Value = ""
     };
     PagesWarning = new DisplayInfoConfigurationItem("Preferences", "<b>Preferences Configuration</b> (<i>Tweak your search settings</i>),<br /><br /> <ul><li><b>Replace MULTI</b>, replace multi keyword in the resultset (leave empty  to deactivate)</li><li><b>Max Pages to Process</b> let you specify how many page (max) Jackett can process when doing a search. Setting a value <b>higher than 4 is dangerous</b> for you account ! (<b>Result of too many requests to tracker...that <u>will be suspect</u></b>).</li></ul>");
     Pages        = new StringConfigurationItem("Max Pages to Process (Required)")
     {
         Value = "4"
     };
     ReplaceMulti = new StringConfigurationItem("Replace MULTI")
     {
         Value = "MULTI.FRENCH"
     };
 }
コード例 #3
0
 public ConfigurationDataBasicLoginWithFilter(string FilterInstructions)
 {
     Username          = new StringConfigurationItem("Username");
     Password          = new StringConfigurationItem("Password");
     LastLoggedInCheck = new HiddenStringConfigurationItem("LastLoggedInCheck");
     FilterExample     = new DisplayInfoConfigurationItem("", FilterInstructions);
     FilterString      = new StringConfigurationItem("Filters (optional)");
 }
コード例 #4
0
 /// <param name="instructionMessageOptional">Enter any instructions the user will need to setup the tracker</param>
 public ConfigurationDataCaptchaLogin(string instructionMessageOptional = null)
 {
     Username      = new StringConfigurationItem("Username");
     Password      = new StringConfigurationItem("Password");
     CaptchaImage  = new DisplayImageConfigurationItem("Captcha Image");
     CaptchaText   = new StringConfigurationItem("Captcha Text");
     CaptchaCookie = new HiddenStringConfigurationItem("Captcha Cookie");
     Instructions  = new DisplayInfoConfigurationItem("", instructionMessageOptional);
 }
コード例 #5
0
 public ConfigurationDataBasicLoginWithRSS()
 {
     Username = new StringConfigurationItem("Username");
     Password = new StringConfigurationItem("Password");
     RSSKey   = new HiddenStringConfigurationItem("RSSKey");
 }
コード例 #6
0
 public ConfigurationDataAbnormal()
     : base()
 {
     AuthKey = new HiddenStringConfigurationItem("AuthKey")
     {
         Value = ""
     };
     TorrentPass = new HiddenStringConfigurationItem("TorrentPass")
     {
         Value = ""
     };
     CredentialsWarning = new DisplayInfoConfigurationItem("Credentials", "<b>Credentials Configuration</b> (<i>Private Tracker</i>),<br /><br /> <ul><li><b>Username</b> is your account name on this tracker.</li><li><b>Password</b> is your password associated to your account name.</li></ul>");
     Username           = new StringConfigurationItem("Username")
     {
         Value = ""
     };
     Password = new StringConfigurationItem("Password")
     {
         Value = ""
     };
     PagesWarning = new DisplayInfoConfigurationItem("Preferences", "<b>Preferences Configuration</b> (<i>Tweak your search settings</i>),<br /><br /> <ul><li><b>Replace MULTI</b>, replace multi keyword in the resultset (leave empty  to deactivate)</li><li><b>Max Pages to Process</b> let you specify how many page (max) Jackett can process when doing a search. Setting a value <b>higher than 4 is dangerous</b> for you account ! (<b>Result of too many requests to tracker...that <u>will be suspect</u></b>).</li></ul>");
     Pages        = new StringConfigurationItem("Max Pages to Process (Required)")
     {
         Value = "4"
     };
     ReplaceMulti = new StringConfigurationItem("Replace MULTI")
     {
         Value = "MULTI.FRENCH"
     };
     SecurityWarning = new DisplayInfoConfigurationItem("Security", "<b>Security Configuration</b> (<i>Read this area carefully !</i>),<br /><br /> <ul><li><b>Latency Simulation</b> will simulate human browsing with Jacket by pausing Jacket for an random time between each request, to fake a real content browsing.</li><li><b>Browser Simulation</b> will simulate a real human browser by injecting additionals headers when doing requests to tracker.</li></ul>");
     Latency         = new BoolConfigurationItem("Latency Simulation (Optional)")
     {
         Value = false
     };
     Browser = new BoolConfigurationItem("Browser Simulation (Optional)")
     {
         Value = true
     };
     LatencyWarning = new DisplayInfoConfigurationItem("Simulate Latency", "<b>Latency Configuration</b> (<i>Required if latency simulation enabled</i>),<br /><br/> <ul><li>By filling this range, <b>Jackett will make a random timed pause</b> <u>between requests</u> to tracker <u>to simulate a real browser</u>.</li><li>MilliSeconds <b>only</b></li></ul>");
     LatencyStart   = new StringConfigurationItem("Minimum Latency (ms)")
     {
         Value = "1589"
     };
     LatencyEnd = new StringConfigurationItem("Maximum Latency (ms)")
     {
         Value = "3674"
     };
     HeadersWarning = new DisplayInfoConfigurationItem("Injecting headers", "<b>Browser Headers Configuration</b> (<i>Required if browser simulation enabled</i>),<br /><br /> <ul><li>By filling these fields, <b>Jackett will inject headers</b> with your values <u>to simulate a real browser</u>.</li><li>You can get <b>your browser values</b> here: <a href='https://www.whatismybrowser.com/detect/what-http-headers-is-my-browser-sending' target='blank'>www.whatismybrowser.com</a></li></ul><br /><i><b>Note that</b> some headers are not necessary because they are injected automatically by this provider such as Accept_Encoding, Connection, Host or X-Requested-With</i>");
     HeaderAccept   = new StringConfigurationItem("Accept")
     {
         Value = ""
     };
     HeaderAcceptLang = new StringConfigurationItem("Accept-Language")
     {
         Value = ""
     };
     HeaderDNT = new BoolConfigurationItem("DNT")
     {
         Value = false
     };
     HeaderUpgradeInsecure = new BoolConfigurationItem("Upgrade-Insecure-Requests")
     {
         Value = false
     };
     HeaderUserAgent = new StringConfigurationItem("User-Agent")
     {
         Value = ""
     };
     DevWarning = new DisplayInfoConfigurationItem("Development", "<b>Development Facility</b> (<i>For Developers ONLY</i>),<br /><br /> <ul><li>By enabling development mode, <b>Jackett will bypass his cache</b> and will <u>output debug messages to console</u> instead of his log file.</li><li>By enabling Hard Drive Cache, <b>This provider</b> will <u>save each query answers from tracker</u> in temp directory, in fact this reduce drastically HTTP requests when building a provider at parsing step for example. So, <b> Jackett will search for a cached query answer on hard drive before executing query on tracker side !</b> <i>DEV MODE must be enabled to use it !</li></ul>");
     DevMode    = new BoolConfigurationItem("Enable DEV MODE (Developers ONLY)")
     {
         Value = false
     };
     HardDriveCache = new BoolConfigurationItem("Enable HARD DRIVE CACHE (Developers ONLY)")
     {
         Value = false
     };
     HardDriveCacheKeepTime = new StringConfigurationItem("Keep Cached files for (ms)")
     {
         Value = "300000"
     };
 }