2020-02-09 02:35:16 +00:00
|
|
|
using System.Collections.Generic;
|
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-12-05 15:15:19 +00:00
|
|
|
using NLog;
|
|
|
|
|
2018-03-10 08:05:56 +00:00
|
|
|
namespace Jackett.Common.Indexers
|
2017-12-05 15:15:19 +00:00
|
|
|
{
|
2018-11-12 14:39:05 +00:00
|
|
|
public class Orpheus : GazelleTracker
|
2017-12-05 15:15:19 +00:00
|
|
|
{
|
2020-04-04 06:56:51 +00:00
|
|
|
public Orpheus(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
|
|
|
|
: base("Orpheus",
|
|
|
|
description: "A music tracker",
|
|
|
|
link: "https://orpheus.network/",
|
|
|
|
caps: new TorznabCapabilities
|
|
|
|
{
|
|
|
|
SupportedMusicSearchParamsList = new List<string> { "q", "album", "artist", "label", "year" }
|
|
|
|
},
|
|
|
|
configService: configService,
|
|
|
|
client: wc,
|
|
|
|
logger: l,
|
|
|
|
p: ps,
|
|
|
|
supportsFreeleechTokens: true,
|
|
|
|
has2Fa: true)
|
2017-12-05 15:15:19 +00:00
|
|
|
{
|
|
|
|
Language = "en-us";
|
|
|
|
Type = "private";
|
|
|
|
|
|
|
|
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");
|
|
|
|
}
|
|
|
|
}
|
2018-11-12 14:39:05 +00:00
|
|
|
}
|