2020-02-09 02:35:16 +00:00
|
|
|
using System.Collections.Generic;
|
2020-05-03 23:35:52 +00:00
|
|
|
using System.Diagnostics.CodeAnalysis;
|
2018-03-10 08:05:56 +00:00
|
|
|
using Jackett.Common.Indexers.Abstract;
|
|
|
|
using Jackett.Common.Models;
|
|
|
|
using Jackett.Common.Services.Interfaces;
|
|
|
|
using Jackett.Common.Utils.Clients;
|
2017-10-29 06:21:18 +00:00
|
|
|
using NLog;
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2018-03-10 08:05:56 +00:00
|
|
|
namespace Jackett.Common.Indexers
|
2016-12-18 10:36:11 +00:00
|
|
|
{
|
2020-05-03 23:35:52 +00:00
|
|
|
[ExcludeFromCodeCoverage]
|
2017-07-03 05:15:47 +00:00
|
|
|
public class notwhatcd : GazelleTracker
|
2016-12-18 10:36:11 +00:00
|
|
|
{
|
2020-04-04 06:56:51 +00:00
|
|
|
public notwhatcd(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
|
2020-05-11 19:59:28 +00:00
|
|
|
: base(id: "notwhatcd",
|
|
|
|
name: "notwhat.cd",
|
2020-04-04 06:56:51 +00:00
|
|
|
description: "A music tracker",
|
|
|
|
link: "https://notwhat.cd/",
|
|
|
|
caps: new TorznabCapabilities
|
|
|
|
{
|
|
|
|
SupportedMusicSearchParamsList = new List<string> { "q", "album", "artist", "label", "year" }
|
|
|
|
},
|
|
|
|
configService: configService,
|
|
|
|
client: wc,
|
|
|
|
logger: l,
|
|
|
|
p: ps,
|
|
|
|
supportsFreeleechTokens: true)
|
2016-12-18 10:36:11 +00:00
|
|
|
{
|
|
|
|
Language = "en-us";
|
2017-01-27 15:57:32 +00:00
|
|
|
Type = "private";
|
2016-12-18 10:36:11 +00:00
|
|
|
|
|
|
|
AddCategoryMapping(1, TorznabCatType.Audio, "Music");
|
2017-04-15 08:45:10 +00:00
|
|
|
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-18 10:36:11 +00:00
|
|
|
}
|
|
|
|
}
|
2020-02-09 02:35:16 +00:00
|
|
|
}
|