2017-03-13 18:08:25 +00:00
|
|
|
|
using Jackett.Models;
|
|
|
|
|
using NLog;
|
|
|
|
|
using Jackett.Services;
|
|
|
|
|
using Jackett.Utils.Clients;
|
2017-04-15 08:45:10 +00:00
|
|
|
|
using Jackett.Indexers.Abstract;
|
|
|
|
|
|
2017-03-13 18:08:25 +00:00
|
|
|
|
namespace Jackett.Indexers
|
|
|
|
|
{
|
2017-07-03 05:15:47 +00:00
|
|
|
|
public class Psytorrents : GazelleTracker
|
2017-03-13 18:08:25 +00:00
|
|
|
|
{
|
|
|
|
|
public Psytorrents(IIndexerManagerService indexerManager, IWebClient webClient, Logger logger, IProtectionService protectionService)
|
|
|
|
|
: base(name: "Psytorrents",
|
|
|
|
|
desc: null,
|
|
|
|
|
link: "https://psytorrents.info/",
|
|
|
|
|
indexerManager: indexerManager,
|
|
|
|
|
logger: logger,
|
|
|
|
|
protectionService: protectionService,
|
|
|
|
|
webClient: webClient
|
|
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
Language = "en-us";
|
|
|
|
|
Type = "private";
|
|
|
|
|
|
|
|
|
|
AddCategoryMapping(1, TorznabCatType.Audio, "Music");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
AddCategoryMapping(2, TorznabCatType.Movies, "Movies");
|
|
|
|
|
AddCategoryMapping(3, TorznabCatType.PC0day, "App");
|
2017-03-13 18:08:25 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|