mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
using NLog;
|
|
using NzbDrone.Common.Http;
|
|
using NzbDrone.Core.Configuration;
|
|
using NzbDrone.Core.Parser;
|
|
using NzbDrone.Core.ThingiProvider;
|
|
|
|
namespace NzbDrone.Core.Indexers.Wombles
|
|
{
|
|
public class Wombles : HttpIndexerBase<NullConfig>
|
|
{
|
|
public override string Name
|
|
{
|
|
get
|
|
{
|
|
return "Womble's";
|
|
}
|
|
}
|
|
|
|
public override DownloadProtocol Protocol { get { return DownloadProtocol.Usenet; } }
|
|
public override bool SupportsSearch { get { return false; } }
|
|
|
|
public override IParseIndexerResponse GetParser()
|
|
{
|
|
return new WomblesRssParser();
|
|
}
|
|
|
|
public override IIndexerRequestGenerator GetRequestGenerator()
|
|
{
|
|
return new RssIndexerRequestGenerator("http://newshost.co.za/rss/?sec=TV&fr=false");
|
|
}
|
|
|
|
public Wombles(IHttpClient httpClient, IIndexerStatusService indexerStatusService, IConfigService configService, IParsingService parsingService, Logger logger)
|
|
: base(httpClient, indexerStatusService, configService, parsingService, logger)
|
|
{
|
|
|
|
}
|
|
}
|
|
} |