mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
assorted: add flaresolverr info to config
This commit is contained in:
parent
e3a6f34003
commit
75b5da81d2
4 changed files with 16 additions and 2 deletions
|
@ -87,7 +87,11 @@ caps:
|
|||
music-search: [q]
|
||||
book-search: [q]
|
||||
|
||||
settings: []
|
||||
settings:
|
||||
- name: flaresolverr
|
||||
type: info
|
||||
label: FlareSolverr
|
||||
default: This site may use Cloudflare DDoS Protection, therefore Jackett requires <a href="https://github.com/Jackett/Jackett#configuring-flaresolverr" target="_blank">FlareSolverr</a> to access it.
|
||||
|
||||
search:
|
||||
paths:
|
||||
|
|
|
@ -50,6 +50,10 @@ settings:
|
|||
options:
|
||||
2: desc
|
||||
1: asc
|
||||
- name: flaresolverr
|
||||
type: info
|
||||
label: FlareSolverr
|
||||
default: This site may use Cloudflare DDoS Protection, therefore Jackett requires <a href="https://github.com/Jackett/Jackett#configuring-flaresolverr" target="_blank">FlareSolverr</a> to access it.
|
||||
|
||||
search:
|
||||
paths:
|
||||
|
|
|
@ -40,7 +40,11 @@ caps:
|
|||
music-search: [q]
|
||||
book-search: [q]
|
||||
|
||||
settings: []
|
||||
settings:
|
||||
- name: flaresolverr
|
||||
type: info
|
||||
label: FlareSolverr
|
||||
default: This site may use Cloudflare DDoS Protection, therefore Jackett requires <a href="https://github.com/Jackett/Jackett#configuring-flaresolverr" target="_blank">FlareSolverr</a> to access it.
|
||||
|
||||
download:
|
||||
infohash:
|
||||
|
|
|
@ -14,6 +14,7 @@ using Jackett.Common.Services.Interfaces;
|
|||
using Jackett.Common.Utils.Clients;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using NLog;
|
||||
using static Jackett.Common.Models.IndexerConfig.ConfigurationData;
|
||||
using WebClient = Jackett.Common.Utils.Clients.WebClient;
|
||||
|
||||
namespace Jackett.Common.Indexers
|
||||
|
@ -60,6 +61,7 @@ namespace Jackett.Common.Indexers
|
|||
cacheService: cs,
|
||||
configData: new ConfigurationData())
|
||||
{
|
||||
configData.AddDynamic("flaresolverr", new DisplayInfoConfigurationItem("FlareSolverr", "This site may use Cloudflare DDoS Protection, therefore Jackett requires <a href=\"https://github.com/Jackett/Jackett#configuring-flaresolverr\" target=\"_blank\">FlareSolverr</a> to access it."));
|
||||
}
|
||||
|
||||
private TorznabCapabilities SetCapabilities()
|
||||
|
|
Loading…
Add table
Reference in a new issue