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 * Boxing Torrents
* Brasil Tracker * Brasil Tracker
* BroadCity * BroadCity
* BroadcastTheNet (BTN) * BroadcasTheNet (BTN)
* BrokenStones * BrokenStones
* BWTorrents * BWTorrents
* CCFBits * CCFBits

View File

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

View File

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