2017-05-14 16:55:36 +00:00
using System ;
using System.Collections.Generic ;
using System.Linq ;
using System.Text ;
using System.Threading.Tasks ;
using Jackett.Models ;
using Newtonsoft.Json.Linq ;
2017-10-29 10:19:09 +00:00
using Jackett.Services.Interfaces ;
2017-05-14 16:55:36 +00:00
using Jackett.Utils.Clients ;
using NLog ;
2017-06-03 13:04:51 +00:00
using Jackett.Models.IndexerConfig ;
2017-05-14 16:55:36 +00:00
namespace Jackett.Indexers.Meta
{
2017-11-05 09:42:03 +00:00
public class AggregateIndexer : BaseMetaIndexer
2017-05-14 16:55:36 +00:00
{
2017-08-08 15:02:16 +00:00
public override string ID
{
get
{
return "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
}
}