2020-05-03 23:35:52 +00:00
|
|
|
using System.Diagnostics.CodeAnalysis;
|
2018-07-04 07:48:56 +00:00
|
|
|
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
|
|
|
|
{
|
2020-05-03 23:35:52 +00:00
|
|
|
[ExcludeFromCodeCoverage]
|
2018-07-04 07:48:56 +00:00
|
|
|
public class TehConnectionMe : GazelleTracker
|
|
|
|
{
|
2018-10-04 17:54:39 +00:00
|
|
|
public override string[] LegacySiteLinks { get; protected set; } = new string[] {
|
|
|
|
"https://tehconnection.me/",
|
|
|
|
};
|
|
|
|
|
2020-04-04 06:56:51 +00:00
|
|
|
public TehConnectionMe(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
|
|
|
|
: base("Anthelion", // old name: TehConnection.me
|
|
|
|
description: "A movies tracker",
|
|
|
|
link: "https://anthelion.me/",
|
|
|
|
caps: new TorznabCapabilities(),
|
|
|
|
configService: configService,
|
|
|
|
client: wc,
|
|
|
|
logger: l,
|
|
|
|
p: ps,
|
|
|
|
supportsFreeleechTokens: true)
|
2018-07-04 07:48:56 +00:00
|
|
|
{
|
|
|
|
Language = "en-us";
|
|
|
|
Type = "private";
|
|
|
|
|
|
|
|
AddCategoryMapping(1, TorznabCatType.Movies, "Feature Film");
|
|
|
|
AddCategoryMapping(2, TorznabCatType.Movies, "Short Film");
|
|
|
|
AddCategoryMapping(3, TorznabCatType.Movies, "Miniseries");
|
|
|
|
AddCategoryMapping(4, TorznabCatType.Movies, "Other");
|
|
|
|
}
|
|
|
|
}
|
2020-02-09 02:35:16 +00:00
|
|
|
}
|