1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-31 03:11:07 +02:00
Sonarr/src/NzbDrone.Core/Indexers/Fanzub/Fanzub.cs

37 lines
998 B
C#
Raw Normal View History

2014-12-07 07:55:17 +02:00
using NLog;
using NzbDrone.Common.Http;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Parser;
namespace NzbDrone.Core.Indexers.Fanzub
{
public class Fanzub : HttpIndexerBase<FanzubSettings>
{
2015-04-25 18:19:23 +02:00
public override string Name
{
get
{
return "Fanzub";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Usenet; } }
public Fanzub(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, Logger logger)
: base(httpClient, configService, parsingService, logger)
{
}
public override IIndexerRequestGenerator GetRequestGenerator()
{
return new FanzubRequestGenerator() { Settings = Settings };
}
public override IParseIndexerResponse GetParser()
{
return new RssParser() { UseEnclosureUrl = true, UseEnclosureLength = true };
}
}
}