diff --git a/README.md b/README.md index 96aed293d..bf8984686 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * NetHD * NextGen * Norbits + * notwhat.cd * PassTheHeadphones * PassThePopcorn * PirateTheNet diff --git a/src/Jackett/Indexers/notwhatcd.cs b/src/Jackett/Indexers/notwhatcd.cs new file mode 100644 index 000000000..bad540516 --- /dev/null +++ b/src/Jackett/Indexers/notwhatcd.cs @@ -0,0 +1,32 @@ +using Jackett.Models; +using NLog; +using Jackett.Services; +using Jackett.Utils.Clients; +using Jackett.Indexers.Abstract; + +namespace Jackett.Indexers +{ + public class notwhatcd : GazelleTracker, IIndexer + { + 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"; + + 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"); + } + } +} \ No newline at end of file