Remove dead Torznab presets
This commit is contained in:
parent
21666df8f1
commit
3454f1c9ed
|
@ -49,9 +49,7 @@ namespace NzbDrone.Core.Indexers.Torznab
|
||||||
{
|
{
|
||||||
get
|
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("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.Linq;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using FluentValidation;
|
using FluentValidation;
|
||||||
|
@ -10,10 +11,7 @@ namespace NzbDrone.Core.Indexers.Torznab
|
||||||
{
|
{
|
||||||
public class TorznabSettingsValidator : AbstractValidator<TorznabSettings>
|
public class TorznabSettingsValidator : AbstractValidator<TorznabSettings>
|
||||||
{
|
{
|
||||||
private static readonly string[] ApiKeyWhiteList =
|
private static readonly string[] ApiKeyWhiteList = Array.Empty<string>();
|
||||||
{
|
|
||||||
"hd4free.xyz",
|
|
||||||
};
|
|
||||||
|
|
||||||
private static bool ShouldHaveApiKey(TorznabSettings settings)
|
private static bool ShouldHaveApiKey(TorznabSettings settings)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue