Jackett/src/Jackett/Indexers/notwhatcd.cs

33 lines
1.2 KiB
C#
Raw Normal View History

2016-12-18 10:36:11 +00:00
using Jackett.Models;
using NLog;
using Jackett.Services;
using Jackett.Utils.Clients;
using Jackett.Indexers.Abstract;
2016-12-18 10:36:11 +00:00
namespace Jackett.Indexers
{
public class notwhatcd : GazelleTracker
2016-12-18 10:36:11 +00:00
{
public notwhatcd(IIndexerManagerService indexerManager, IWebClient webClient, Logger logger, IProtectionService protectionService)
: base(name: "notwhat.cd",
desc: "A music tracker",
link: "https://notwhat.cd/",
indexerManager: indexerManager,
logger: logger,
protectionService: protectionService,
webClient: webClient
)
{
Language = "en-us";
Type = "private";
2016-12-18 10:36:11 +00:00
AddCategoryMapping(1, TorznabCatType.Audio, "Music");
AddCategoryMapping(2, TorznabCatType.PC, "Applications");
AddCategoryMapping(3, TorznabCatType.Books, "E-Books");
AddCategoryMapping(4, TorznabCatType.AudioAudiobook, "Audiobooks");
AddCategoryMapping(5, TorznabCatType.Movies, "E-Learning Videos");
AddCategoryMapping(6, TorznabCatType.TV, "Comedy");
AddCategoryMapping(7, TorznabCatType.Books, "Comics");
2016-12-18 10:36:11 +00:00
}
}
}