diff --git a/src/Jackett.Common/Definitions/extratorrent-st.yml b/src/Jackett.Common/Definitions/extratorrent-st.yml index afd3a7ca7..d0c56d2f6 100644 --- a/src/Jackett.Common/Definitions/extratorrent-st.yml +++ b/src/Jackett.Common/Definitions/extratorrent-st.yml @@ -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 FlareSolverr to access it. search: paths: diff --git a/src/Jackett.Common/Definitions/lepornoinfo.yml b/src/Jackett.Common/Definitions/lepornoinfo.yml index 84c14fc27..b0369ceb3 100644 --- a/src/Jackett.Common/Definitions/lepornoinfo.yml +++ b/src/Jackett.Common/Definitions/lepornoinfo.yml @@ -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 FlareSolverr to access it. search: paths: diff --git a/src/Jackett.Common/Definitions/torrentcore.yml b/src/Jackett.Common/Definitions/torrentcore.yml index f353590b4..e739ccbad 100644 --- a/src/Jackett.Common/Definitions/torrentcore.yml +++ b/src/Jackett.Common/Definitions/torrentcore.yml @@ -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 FlareSolverr to access it. download: infohash: diff --git a/src/Jackett.Common/Indexers/Cinecalidad.cs b/src/Jackett.Common/Indexers/Cinecalidad.cs index 3841a40a7..dcdae052b 100644 --- a/src/Jackett.Common/Indexers/Cinecalidad.cs +++ b/src/Jackett.Common/Indexers/Cinecalidad.cs @@ -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 FlareSolverr to access it.")); } private TorznabCapabilities SetCapabilities()