Jackett/src/Jackett.Common/Indexers/Redacted.cs

40 lines
1.5 KiB
C#
Raw Normal View History

2020-02-09 02:35:16 +00:00
using System.Collections.Generic;
using Jackett.Common.Indexers.Abstract;
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
using Jackett.Common.Utils.Clients;
2017-10-29 06:50:47 +00:00
using NLog;
namespace Jackett.Common.Indexers
2016-12-17 15:49:52 +00:00
{
public class PassTheHeadphones : GazelleTracker
2016-12-17 15:49:52 +00:00
{
public PassTheHeadphones(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
: base("Redacted",
description: "A music tracker",
link: "https://redacted.ch/",
caps: new TorznabCapabilities
{
SupportedMusicSearchParamsList = new List<string> { "q", "album", "artist", "label", "year" }
},
configService: configService,
client: wc,
logger: l,
p: ps,
supportsFreeleechTokens: true,
has2Fa: true)
2016-12-17 15:49:52 +00:00
{
Language = "en-us";
Type = "private";
2016-12-17 15:49:52 +00:00
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");
2016-12-17 15:49:52 +00:00
}
}
2020-02-09 02:35:16 +00:00
}