2018-07-04 07:48:56 +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;
|
|
|
|
|
using NLog;
|
|
|
|
|
|
|
|
|
|
namespace Jackett.Common.Indexers
|
|
|
|
|
{
|
|
|
|
|
public class TehConnectionMe : GazelleTracker
|
|
|
|
|
{
|
2018-10-04 17:54:39 +00:00
|
|
|
|
public override string[] LegacySiteLinks { get; protected set; } = new string[] {
|
|
|
|
|
"https://tehconnection.me/",
|
|
|
|
|
};
|
|
|
|
|
|
2018-07-04 07:48:56 +00:00
|
|
|
|
public TehConnectionMe(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
|
2018-12-28 11:14:16 +00:00
|
|
|
|
: base(name: "Anthelion", // old name: TehConnection.me
|
2018-07-04 07:48:56 +00:00
|
|
|
|
desc: "A movies tracker",
|
2018-10-04 17:54:39 +00:00
|
|
|
|
link: "https://anthelion.me/",
|
2018-07-04 07:48:56 +00:00
|
|
|
|
configService: configService,
|
|
|
|
|
logger: logger,
|
|
|
|
|
protectionService: protectionService,
|
|
|
|
|
webClient: webClient,
|
|
|
|
|
supportsFreeleechTokens: true
|
|
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
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");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|