2018-01-23 16:55:32 +00:00
|
|
|
|
using Jackett.Indexers.Abstract;
|
|
|
|
|
using Jackett.Models;
|
|
|
|
|
using Jackett.Services.Interfaces;
|
|
|
|
|
using Jackett.Utils.Clients;
|
|
|
|
|
using NLog;
|
|
|
|
|
|
|
|
|
|
namespace Jackett.Indexers
|
|
|
|
|
{
|
|
|
|
|
public class Psytorrents : GazelleTracker
|
|
|
|
|
{
|
|
|
|
|
public Psytorrents(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
|
|
|
|
|
: base(name: "Psytorrents",
|
|
|
|
|
desc: "Psytorrents (PSY) is a Private Torrent Tracker for ELECTRONIC MUSIC",
|
|
|
|
|
link: "https://psytorrents.info/",
|
|
|
|
|
configService: configService,
|
|
|
|
|
logger: logger,
|
|
|
|
|
protectionService: protectionService,
|
2018-01-23 19:39:15 +00:00
|
|
|
|
webClient: webClient,
|
|
|
|
|
supportsFreeleechTokens: true
|
2018-01-23 16:55:32 +00:00
|
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
Language = "en-us";
|
|
|
|
|
Type = "private";
|
|
|
|
|
|
|
|
|
|
AddCategoryMapping(1, TorznabCatType.Audio, "Music");
|
|
|
|
|
AddCategoryMapping(2, TorznabCatType.Movies, "Movies");
|
|
|
|
|
AddCategoryMapping(3, TorznabCatType.PC0day, "App");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|