mirror of
https://github.com/Jackett/Jackett.git
synced 2025-10-02 00:32:55 +02:00
32 lines
1.2 KiB
C#
32 lines
1.2 KiB
C#
using Jackett.Models;
|
|
using NLog;
|
|
using Jackett.Services;
|
|
using Jackett.Utils.Clients;
|
|
using Jackett.Indexers.Abstract;
|
|
|
|
namespace Jackett.Indexers
|
|
{
|
|
public class nostream : GazelleTracker, IIndexer
|
|
{
|
|
public nostream(IIndexerManagerService indexerManager, IWebClient webClient, Logger logger, IProtectionService protectionService)
|
|
: base(name: "nostream",
|
|
desc: "A music tracker",
|
|
link: "https://nostre.am/",
|
|
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");
|
|
}
|
|
}
|
|
} |