2014-12-07 07:55:17 +02:00
|
|
|
using NLog;
|
2014-09-07 14:44:24 +03:00
|
|
|
using NzbDrone.Common.Http;
|
|
|
|
using NzbDrone.Core.Configuration;
|
|
|
|
using NzbDrone.Core.Parser;
|
2013-09-22 08:20:26 +03:00
|
|
|
using NzbDrone.Core.ThingiProvider;
|
2013-04-07 10:30:37 +03:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Indexers.Wombles
|
|
|
|
{
|
2014-09-07 14:44:24 +03:00
|
|
|
public class Wombles : HttpIndexerBase<NullConfig>
|
2013-04-07 10:30:37 +03:00
|
|
|
{
|
2015-04-25 18:19:23 +02:00
|
|
|
public override string Name
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return "Womble's";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-19 18:09:22 +03:00
|
|
|
public override DownloadProtocol Protocol { get { return DownloadProtocol.Usenet; } }
|
2014-08-18 05:25:00 +03:00
|
|
|
public override bool SupportsSearch { get { return false; } }
|
2014-01-14 06:47:45 +03:00
|
|
|
|
2014-09-07 14:44:24 +03:00
|
|
|
public override IParseIndexerResponse GetParser()
|
2013-06-08 20:53:26 +03:00
|
|
|
{
|
2014-09-07 14:44:24 +03:00
|
|
|
return new WomblesRssParser();
|
2013-06-08 20:53:26 +03:00
|
|
|
}
|
|
|
|
|
2014-09-07 14:44:24 +03:00
|
|
|
public override IIndexerRequestGenerator GetRequestGenerator()
|
2013-04-07 10:30:37 +03:00
|
|
|
{
|
2014-09-07 14:44:24 +03:00
|
|
|
return new RssIndexerRequestGenerator("http://newshost.co.za/rss/?sec=TV&fr=false");
|
2013-04-07 10:30:37 +03:00
|
|
|
}
|
|
|
|
|
2015-06-27 11:43:17 +02:00
|
|
|
public Wombles(IHttpClient httpClient, IIndexerStatusService indexerStatusService, IConfigService configService, IParsingService parsingService, Logger logger)
|
|
|
|
: base(httpClient, indexerStatusService, configService, parsingService, logger)
|
2013-04-07 10:30:37 +03:00
|
|
|
{
|
2014-01-07 11:21:05 +03:00
|
|
|
|
2014-07-04 11:09:48 +03:00
|
|
|
}
|
2013-04-07 10:30:37 +03:00
|
|
|
}
|
|
|
|
}
|