2016-12-23 21:45:24 +00:00
|
|
|
|
using NLog;
|
2015-04-14 04:30:02 +00:00
|
|
|
|
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>
|
2015-04-14 04:30:02 +00:00
|
|
|
|
{
|
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;
|
2015-04-14 04:30:02 +00:00
|
|
|
|
|
2015-06-27 09:43:17 +00:00
|
|
|
|
public HDBits(IHttpClient httpClient, IIndexerStatusService indexerStatusService, IConfigService configService, IParsingService parsingService, Logger logger)
|
|
|
|
|
: base(httpClient, indexerStatusService, configService, parsingService, logger)
|
2015-04-14 04:30:02 +00:00
|
|
|
|
{ }
|
|
|
|
|
|
|
|
|
|
public override IIndexerRequestGenerator GetRequestGenerator()
|
|
|
|
|
{
|
2015-05-24 22:47:48 +00:00
|
|
|
|
return new HDBitsRequestGenerator() { Settings = Settings };
|
2015-04-14 04:30:02 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override IParseIndexerResponse GetParser()
|
|
|
|
|
{
|
2015-05-24 22:47:48 +00:00
|
|
|
|
return new HDBitsParser(Settings);
|
2015-04-14 04:30:02 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-06-14 03:54:25 +00:00
|
|
|
|
}
|