Jackett/src/Jackett.Common/Indexers/Meta/MetaIndexers.cs

40 lines
1.4 KiB
C#
Raw Normal View History

2020-02-09 02:35:16 +00:00
using Jackett.Common.Models;
using Jackett.Common.Models.IndexerConfig;
using Jackett.Common.Services.Interfaces;
using Jackett.Common.Utils.Clients;
using NLog;
namespace Jackett.Common.Indexers.Meta
{
public class AggregateIndexer : BaseMetaIndexer
{
public AggregateIndexer(IFallbackStrategyProvider fallbackStrategyProvider,
IResultFilterProvider resultFilterProvider, IIndexerConfigurationService configService,
WebClient client, Logger logger, IProtectionService ps)
: base(id: "all",
name: "AggregateSearch",
description: "This feed includes all configured trackers",
configService: configService,
client: client,
logger: logger,
p: ps,
configData: new ConfigurationData(),
fallbackStrategyProvider: fallbackStrategyProvider,
resultFilterProvider: resultFilterProvider,
filter: x => true)
{
}
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;
}
}
}
2020-02-09 02:35:16 +00:00
}