Radarr/src/NzbDrone.Core/Indexers/HDBits/HDBits.cs

32 lines
1.0 KiB
C#
Raw Normal View History

2016-12-23 21:45:24 +00:00
using NLog;
using NzbDrone.Common.Http;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Parser;
namespace NzbDrone.Core.Indexers.HDBits
{
2015-05-24 22:47:48 +00:00
public class HDBits : HttpIndexerBase<HDBitsSettings>
{
2016-12-09 06:54:15 +00:00
public override string Name => "HDBits";
public override DownloadProtocol Protocol => DownloadProtocol.Torrent;
public override bool SupportsRss => true;
public override bool SupportsSearch => true;
public override int PageSize => 30;
public HDBits(IHttpClient httpClient, IIndexerStatusService indexerStatusService, IConfigService configService, IParsingService parsingService, Logger logger)
: base(httpClient, indexerStatusService, configService, parsingService, logger)
2019-12-22 22:08:53 +00:00
{
}
public override IIndexerRequestGenerator GetRequestGenerator()
{
2015-05-24 22:47:48 +00:00
return new HDBitsRequestGenerator() { Settings = Settings };
}
public override IParseIndexerResponse GetParser()
{
2015-05-24 22:47:48 +00:00
return new HDBitsParser(Settings);
}
}
}