Remove dead Torznab presets

pull/6339/head
ilike2burnthing 5 months ago committed by GitHub
parent 21666df8f1
commit 3454f1c9ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,9 +49,7 @@ namespace NzbDrone.Core.Indexers.Torznab
{
get
{
yield return GetDefinition("HD4Free.xyz", GetSettings("http://hd4free.xyz"));
yield return GetDefinition("AnimeTosho Torrents", GetSettings("https://feed.animetosho.org", apiPath: @"/nabapi", categories: Array.Empty<int>(), animeCategories: new[] { 5070 }));
yield return GetDefinition("Nyaa Pantsu", GetSettings("https://nyaa.pantsu.cat", apiPath: @"/feed/torznab", categories: Array.Empty<int>(), animeCategories: new[] { 5070 }));
}
}

@ -1,3 +1,4 @@
using System;
using System.Linq;
using System.Text.RegularExpressions;
using FluentValidation;
@ -10,10 +11,7 @@ namespace NzbDrone.Core.Indexers.Torznab
{
public class TorznabSettingsValidator : AbstractValidator<TorznabSettings>
{
private static readonly string[] ApiKeyWhiteList =
{
"hd4free.xyz",
};
private static readonly string[] ApiKeyWhiteList = Array.Empty<string>();
private static bool ShouldHaveApiKey(TorznabSettings settings)
{

Loading…
Cancel
Save