mirror of https://github.com/Jackett/Jackett
36 lines
1.4 KiB
C#
36 lines
1.4 KiB
C#
using System.Collections.Generic;
|
|
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
|
|
{
|
|
public class Apollo : GazelleTracker
|
|
{
|
|
public Apollo(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
|
|
: base(name: "Apollo",
|
|
desc: "A music tracker",
|
|
link: "https://apollo.rip/",
|
|
configService: configService,
|
|
logger: logger,
|
|
protectionService: protectionService,
|
|
webClient: webClient,
|
|
supportsFreeleechTokens: true
|
|
)
|
|
{
|
|
Language = "en-us";
|
|
Type = "private";
|
|
TorznabCaps.SupportedMusicSearchParamsList = new List<string>() { "q", "album", "artist", "label", "year" };
|
|
|
|
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");
|
|
}
|
|
}
|
|
} |