mirror of
https://github.com/Jackett/Jackett.git
synced 2025-10-01 16:04:07 +02:00
assorted: add flaresolverr info to config
This commit is contained in:
@@ -87,7 +87,11 @@ caps:
|
|||||||
music-search: [q]
|
music-search: [q]
|
||||||
book-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:
|
search:
|
||||||
paths:
|
paths:
|
||||||
|
@@ -50,6 +50,10 @@ settings:
|
|||||||
options:
|
options:
|
||||||
2: desc
|
2: desc
|
||||||
1: asc
|
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:
|
search:
|
||||||
paths:
|
paths:
|
||||||
|
@@ -40,7 +40,11 @@ caps:
|
|||||||
music-search: [q]
|
music-search: [q]
|
||||||
book-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:
|
download:
|
||||||
infohash:
|
infohash:
|
||||||
|
@@ -14,6 +14,7 @@ using Jackett.Common.Services.Interfaces;
|
|||||||
using Jackett.Common.Utils.Clients;
|
using Jackett.Common.Utils.Clients;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using NLog;
|
using NLog;
|
||||||
|
using static Jackett.Common.Models.IndexerConfig.ConfigurationData;
|
||||||
using WebClient = Jackett.Common.Utils.Clients.WebClient;
|
using WebClient = Jackett.Common.Utils.Clients.WebClient;
|
||||||
|
|
||||||
namespace Jackett.Common.Indexers
|
namespace Jackett.Common.Indexers
|
||||||
@@ -60,6 +61,7 @@ namespace Jackett.Common.Indexers
|
|||||||
cacheService: cs,
|
cacheService: cs,
|
||||||
configData: new ConfigurationData())
|
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()
|
private TorznabCapabilities SetCapabilities()
|
||||||
|
Reference in New Issue
Block a user