mirror of https://github.com/Jackett/Jackett
30 lines
932 B
C#
30 lines
932 B
C#
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 Avistaz : AvistazTracker
|
|
{
|
|
public Avistaz(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
|
|
: base(name: "Avistaz",
|
|
desc: "Aka AsiaTorrents",
|
|
link: "https://avistaz.to/",
|
|
configService: configService,
|
|
logger: logger,
|
|
protectionService: protectionService,
|
|
webClient: webClient
|
|
)
|
|
{
|
|
Type = "private";
|
|
}
|
|
|
|
// hook to adjust the search term
|
|
protected override string GetSearchTerm(TorznabQuery query)
|
|
{
|
|
return query.SanitizedSearchTerm;
|
|
}
|
|
}
|
|
} |