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 BrasilTracker : GazelleTracker { public BrasilTracker(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService) : base(name: "Brasil Tracker", desc: "Brasil Tracker is a BRAZILIAN Private Torrent Tracker for MOVIES / TV / GENERAL", link: "https://brasiltracker.org/", configService: configService, logger: logger, protectionService: protectionService, webClient: webClient, supportsFreeleechTokens: true ) { Language = "pt-br"; Type = "private"; TorznabCaps.SupportsImdbSearch = false; // they store the imdb ID but it's not included in the results, search is also not available. TorznabCaps.SupportedMusicSearchParamsList = new List() { "q", "album", "artist", "label", "year" }; AddCategoryMapping(1, TorznabCatType.Movies, "Filmes"); AddCategoryMapping(2, TorznabCatType.TV, "Series"); AddCategoryMapping(3, TorznabCatType.XXX, "Filmes XXX"); AddCategoryMapping(4, TorznabCatType.Audio, "Música"); AddCategoryMapping(5, TorznabCatType.TV, "Show"); AddCategoryMapping(6, TorznabCatType.TVAnime, "Animes"); AddCategoryMapping(7, TorznabCatType.TV, "Televisão"); AddCategoryMapping(8, TorznabCatType.TVDocumentary, "Documentário"); AddCategoryMapping(9, TorznabCatType.PCGames, "Jogos"); AddCategoryMapping(10, TorznabCatType.BooksMagazines, "Revistas"); AddCategoryMapping(11, TorznabCatType.PC0day, "Aplicativos"); AddCategoryMapping(12, TorznabCatType.BooksComics, "Histórias em Quadrinhos"); AddCategoryMapping(13, TorznabCatType.Books, "Livros"); AddCategoryMapping(14, TorznabCatType.TVSport, "Esportes"); AddCategoryMapping(15, TorznabCatType.Other, "Vídeo Aula"); } } }