mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Add notwhat.cd tracker
This commit is contained in:
@@ -63,6 +63,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||||||
* NetHD
|
* NetHD
|
||||||
* NextGen
|
* NextGen
|
||||||
* Norbits
|
* Norbits
|
||||||
|
* notwhat.cd
|
||||||
* PassTheHeadphones
|
* PassTheHeadphones
|
||||||
* PassThePopcorn
|
* PassThePopcorn
|
||||||
* PirateTheNet
|
* PirateTheNet
|
||||||
|
32
src/Jackett/Indexers/notwhatcd.cs
Normal file
32
src/Jackett/Indexers/notwhatcd.cs
Normal file
@@ -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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user