2020-02-09 02:35:16 +00:00
|
|
|
using Jackett.Common.Indexers.Abstract;
|
2018-03-10 08:05:56 +00:00
|
|
|
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
|
2017-02-02 17:04:25 +00:00
|
|
|
{
|
2017-07-03 05:15:47 +00:00
|
|
|
public class CGPeers : GazelleTracker
|
2017-02-02 17:04:25 +00:00
|
|
|
{
|
2017-11-05 09:42:03 +00:00
|
|
|
public CGPeers(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
|
2017-02-02 17:04:25 +00:00
|
|
|
: base(name: "CGPeers",
|
2017-10-01 09:26:07 +00:00
|
|
|
desc: "CGPeers is a Private Torrent Tracker for GRAPHICS SOFTWARE / TUTORIALS / ETC",
|
2017-02-02 17:04:25 +00:00
|
|
|
link: "https://www.cgpeers.com/",
|
2017-07-10 20:58:44 +00:00
|
|
|
configService: configService,
|
2017-02-02 17:04:25 +00:00
|
|
|
logger: logger,
|
|
|
|
protectionService: protectionService,
|
2017-12-05 15:44:47 +00:00
|
|
|
webClient: webClient,
|
|
|
|
supportsFreeleechTokens: true
|
2017-02-02 17:04:25 +00:00
|
|
|
)
|
|
|
|
{
|
|
|
|
Language = "en-us";
|
|
|
|
Type = "private";
|
|
|
|
|
2017-04-15 08:45:10 +00:00
|
|
|
AddCategoryMapping(1, TorznabCatType.PCISO, "Full Applications");
|
|
|
|
AddCategoryMapping(2, TorznabCatType.PC0day, "Plugins");
|
|
|
|
AddCategoryMapping(3, TorznabCatType.Other, "Tutorials");
|
|
|
|
AddCategoryMapping(4, TorznabCatType.Other, "Models");
|
|
|
|
AddCategoryMapping(5, TorznabCatType.Other, "Materials");
|
|
|
|
AddCategoryMapping(6, TorznabCatType.OtherMisc, "Misc");
|
|
|
|
AddCategoryMapping(7, TorznabCatType.Other, "GameDev");
|
2017-02-02 17:04:25 +00:00
|
|
|
}
|
|
|
|
}
|
2017-10-01 09:26:07 +00:00
|
|
|
}
|