From ee279dffac3d708a3ee8f6f1ef03fdda1f37fc5f Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sun, 17 Jan 2021 03:50:45 +0000 Subject: [PATCH] psytorrents: removed, dead. resolves #1152 (#10835) --- README.md | 1 - src/Jackett.Common/Indexers/PsyTorrents.cs | 50 ---------------------- 2 files changed, 51 deletions(-) delete mode 100644 src/Jackett.Common/Indexers/PsyTorrents.cs diff --git a/README.md b/README.md index 4e1375c55..33047503a 100644 --- a/README.md +++ b/README.md @@ -438,7 +438,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * Pretome * PrivateHD (PHD) * ProAudioTorrents (PAT) - * Psytorrents [![(invite needed)][inviteneeded]](#) * PTerClub * PTFiles (PTF) * PThome diff --git a/src/Jackett.Common/Indexers/PsyTorrents.cs b/src/Jackett.Common/Indexers/PsyTorrents.cs deleted file mode 100644 index f43e4c0a4..000000000 --- a/src/Jackett.Common/Indexers/PsyTorrents.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; -using Jackett.Common.Indexers.Abstract; -using Jackett.Common.Models; -using Jackett.Common.Services.Interfaces; -using Jackett.Common.Utils.Clients; -using NLog; - -namespace Jackett.Common.Indexers -{ - [ExcludeFromCodeCoverage] - public class PsyTorrents : GazelleTracker - { - public PsyTorrents(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps, - ICacheService cs) - : base(id: "psytorrents", - name: "Psytorrents", - description: "Psytorrents (PSY) is a Private Torrent Tracker for ELECTRONIC MUSIC", - link: "https://psytorrents.info/", - caps: new TorznabCapabilities - { - MovieSearchParams = new List - { - MovieSearchParam.Q - }, - MusicSearchParams = new List - { - MusicSearchParam.Q - } - }, - configService: configService, - client: wc, - logger: l, - p: ps, - cs: cs, - supportsFreeleechTokens: true) - { - Language = "en-us"; - Type = "private"; - - webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "B52C043ABDE7AFB2231E162B1DD468758AEEE307"); - webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "AAA3E062739F3733FE659BA4A89E55E4EB48063B"); - - AddCategoryMapping(1, TorznabCatType.Audio, "Music"); - AddCategoryMapping(2, TorznabCatType.Movies, "Movies"); - AddCategoryMapping(3, TorznabCatType.PC0day, "App"); - } - } -}