2020-02-09 18:08:34 +00:00
|
|
|
using System;
|
2020-02-09 02:35:16 +00:00
|
|
|
using Jackett.Common.Indexers.Abstract;
|
2018-03-10 08:05:56 +00:00
|
|
|
using Jackett.Common.Models;
|
|
|
|
using Jackett.Common.Services.Interfaces;
|
|
|
|
using Jackett.Common.Utils.Clients;
|
2018-01-23 16:55:32 +00:00
|
|
|
using NLog;
|
|
|
|
|
2018-03-10 08:05:56 +00:00
|
|
|
namespace Jackett.Common.Indexers
|
2018-01-23 16:55:32 +00:00
|
|
|
{
|
|
|
|
public class Psytorrents : GazelleTracker
|
|
|
|
{
|
2020-04-04 06:56:51 +00:00
|
|
|
public Psytorrents(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
|
|
|
|
: base("Psytorrents",
|
|
|
|
description: "Psytorrents (PSY) is a Private Torrent Tracker for ELECTRONIC MUSIC",
|
|
|
|
link: "https://psytorrents.info/",
|
|
|
|
caps: new TorznabCapabilities(),
|
|
|
|
configService: configService,
|
|
|
|
client: wc,
|
|
|
|
logger: l,
|
|
|
|
p: ps,
|
|
|
|
supportsFreeleechTokens: true)
|
2018-01-23 16:55:32 +00:00
|
|
|
{
|
|
|
|
Language = "en-us";
|
|
|
|
Type = "private";
|
|
|
|
|
2019-07-30 19:29:17 +00:00
|
|
|
webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "B52C043ABDE7AFB2231E162B1DD468758AEEE307");
|
2018-12-01 11:48:54 +00:00
|
|
|
|
2018-01-23 16:55:32 +00:00
|
|
|
AddCategoryMapping(1, TorznabCatType.Audio, "Music");
|
|
|
|
AddCategoryMapping(2, TorznabCatType.Movies, "Movies");
|
|
|
|
AddCategoryMapping(3, TorznabCatType.PC0day, "App");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|