broadcasthenet: rename indexer. #8355 (#8888)

This commit is contained in:
Diego Heras
2020-06-06 22:15:50 +02:00
committed by GitHub
parent cdfdcde560
commit ab5cf5b10d
3 changed files with 7 additions and 6 deletions

View File

@@ -265,7 +265,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Boxing Torrents
* Brasil Tracker
* BroadCity
* BroadcastTheNet (BTN)
* BroadcasTheNet (BTN)
* BrokenStones
* BWTorrents
* CCFBits

View File

@@ -17,7 +17,7 @@ using NLog;
namespace Jackett.Common.Indexers
{
[ExcludeFromCodeCoverage]
public class BroadcastTheNet : BaseWebIndexer
public class BroadcasTheNet : BaseWebIndexer
{
// Docs at http://apidocs.broadcasthe.net/docs.php
private readonly string APIBASE = "https://api.broadcasthe.net";
@@ -29,10 +29,10 @@ namespace Jackett.Common.Indexers
set => base.configData = value;
}
public BroadcastTheNet(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
: base(id: "broadcastthenet",
name: "BroadcastTheNet",
description: "Broadcasthe.net (BTN) is an invite-only torrent tracker focused on TV shows",
public BroadcasTheNet(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
: base(id: "broadcasthenet",
name: "BroadcasTheNet",
description: "BroadcasTheNet (BTN) is an invite-only torrent tracker focused on TV shows",
link: "https://broadcasthe.net/",
caps: new TorznabCapabilities(),
configService: configService,

View File

@@ -36,6 +36,7 @@ namespace Jackett.Common.Services
// use: {"<old id>", "<new id>"}
private readonly Dictionary<string, string> renamedIndexers = new Dictionary<string, string>
{
{"broadcastthenet", "broadcasthenet"},
{"nostalgic", "vhstapes"},
{"passtheheadphones", "redacted"},
{"tehconnectionme", "anthelion"},