Jackett/src/Jackett.Common/Indexers/Avistaz.cs

30 lines
932 B
C#
Raw Normal View History

using Jackett.Common.Indexers.Abstract;
2018-04-06 12:32:46 +00:00
using Jackett.Common.Models;
using Jackett.Common.Services.Interfaces;
using Jackett.Common.Utils.Clients;
using NLog;
2015-08-23 20:28:21 +00:00
namespace Jackett.Common.Indexers
2015-08-23 20:28:21 +00:00
{
public class Avistaz : AvistazTracker
2015-08-23 20:28:21 +00:00
{
public Avistaz(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
2015-08-23 20:28:21 +00:00
: base(name: "Avistaz",
desc: "Aka AsiaTorrents",
link: "https://avistaz.to/",
configService: configService,
2015-08-23 20:28:21 +00:00
logger: logger,
protectionService: protectionService,
webClient: webClient
)
{
2017-01-28 06:07:44 +00:00
Type = "private";
2015-08-23 20:28:21 +00:00
}
2018-04-06 12:32:46 +00:00
// hook to adjust the search term
protected override string GetSearchTerm(TorznabQuery query)
{
return query.SanitizedSearchTerm;
}
2015-08-23 20:28:21 +00:00
}
}