Fixed: (DanishBytes) Convert to use API

Fixes #158
This commit is contained in:
Qstick
2021-07-11 21:28:57 -04:00
parent 5846188202
commit cf399ffdcc
2 changed files with 351 additions and 1 deletions
@@ -25,7 +25,17 @@ namespace NzbDrone.Core.IndexerVersions
public class IndexerDefinitionUpdateService : IIndexerDefinitionUpdateService, IExecute<IndexerDefinitionUpdateCommand>
{
private const int DEFINITION_VERSION = 1;
private readonly List<string> _defintionBlacklist = new List<string>() { "aither", "animeworld", "blutopia", "beyond-hd", "beyond-hd-oneurl", "hdbits", "shareisland" };
private readonly List<string> _defintionBlacklist = new List<string>()
{
"aither",
"animeworld",
"blutopia",
"beyond-hd",
"beyond-hd-oneurl",
"danishbytes",
"hdbits",
"shareisland"
};
private readonly IHttpClient _httpClient;
private readonly IAppFolderInfo _appFolderInfo;