Jackett/src/Jackett.Common/Indexers/cgpeers.cs

35 lines
1.4 KiB
C#
Raw Normal View History

2020-02-09 02:35:16 +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
2017-02-02 17:04:25 +00:00
{
public class CGPeers : GazelleTracker
2017-02-02 17:04:25 +00:00
{
public CGPeers(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
2017-02-02 17:04:25 +00:00
: base(name: "CGPeers",
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/",
configService: configService,
2017-02-02 17:04:25 +00:00
logger: logger,
protectionService: protectionService,
webClient: webClient,
supportsFreeleechTokens: true
2017-02-02 17:04:25 +00:00
)
{
Language = "en-us";
Type = "private";
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
}
}
}