2020-02-09 02:35:16 +00:00
using Jackett.Common.Models ;
2018-03-10 08:05:56 +00:00
using Jackett.Common.Models.IndexerConfig ;
using Jackett.Common.Services.Interfaces ;
using Jackett.Common.Utils.Clients ;
2017-05-14 16:55:36 +00:00
using NLog ;
2018-03-10 08:05:56 +00:00
namespace Jackett.Common.Indexers.Meta
2017-05-14 16:55:36 +00:00
{
2017-11-05 09:42:03 +00:00
public class AggregateIndexer : BaseMetaIndexer
2017-05-14 16:55:36 +00:00
{
2020-02-25 16:08:03 +00:00
public override string ID = > "all" ;
2017-11-05 09:42:03 +00:00
public AggregateIndexer ( IFallbackStrategyProvider fallbackStrategyProvider , IResultFilterProvider resultFilterProvider , IIndexerConfigurationService configService , WebClient wc , Logger l , IProtectionService ps )
2017-07-10 20:58:44 +00:00
: base ( "AggregateSearch" , "This feed includes all configured trackers" , fallbackStrategyProvider , resultFilterProvider , configService , wc , l , new ConfigurationData ( ) , ps , x = > true )
2017-05-14 16:55:36 +00:00
{
}
2017-08-17 07:50:10 +00:00
public override TorznabCapabilities TorznabCaps
{
get
{
// increase the limits (workaround until proper paging is supported, issue #1661)
var caps = base . TorznabCaps ;
caps . LimitsMax = caps . LimitsDefault = 1000 ;
return caps ;
}
}
2017-05-14 16:55:36 +00:00
}
2020-02-09 02:35:16 +00:00
}