New: (BTN) Rate Limit to 1 Query per 5 Seconds

pull/931/head
bakerboy448 3 years ago
parent e07ea80977
commit 8762d94dda

@ -1,3 +1,4 @@
using System;
using System.Collections.Generic; using System.Collections.Generic;
using NLog; using NLog;
using NzbDrone.Common.Http; using NzbDrone.Common.Http;
@ -16,6 +17,7 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
public override bool SupportsSearch => true; public override bool SupportsSearch => true;
public override int PageSize => 100; public override int PageSize => 100;
public override IndexerCapabilities Capabilities => SetCapabilities(); public override IndexerCapabilities Capabilities => SetCapabilities();
public override TimeSpan RateLimit => TimeSpan.FromSeconds(5);
public override string[] IndexerUrls => new string[] { "http://api.broadcasthe.net/" }; public override string[] IndexerUrls => new string[] { "http://api.broadcasthe.net/" };
public override string Description => "BroadcasTheNet (BTN) is an invite-only torrent tracker focused on TV shows"; public override string Description => "BroadcasTheNet (BTN) is an invite-only torrent tracker focused on TV shows";

Loading…
Cancel
Save