Fixed: (RED) Update indexer url (#2285)

* Updated RED CNAME record
* Added LegacyUrls
pull/2284/head
Alexander Bruun 4 weeks ago committed by GitHub
parent 299001a513
commit b447db5d08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -46,8 +46,8 @@ namespace NzbDrone.Core.Test.IndexerTests.RedactedTests
torrentInfo.Title.Should().Be("Red Hot Chili Peppers - Californication (1999) [Album] [US / Reissue 2020] [FLAC 24bit Lossless / Vinyl]"); torrentInfo.Title.Should().Be("Red Hot Chili Peppers - Californication (1999) [Album] [US / Reissue 2020] [FLAC 24bit Lossless / Vinyl]");
torrentInfo.DownloadProtocol.Should().Be(DownloadProtocol.Torrent); torrentInfo.DownloadProtocol.Should().Be(DownloadProtocol.Torrent);
torrentInfo.DownloadUrl.Should().Be("https://redacted.ch/ajax.php?action=download&id=3892313"); torrentInfo.DownloadUrl.Should().Be("https://redacted.sh/ajax.php?action=download&id=3892313");
torrentInfo.InfoUrl.Should().Be("https://redacted.ch/torrents.php?id=16720&torrentid=3892313"); torrentInfo.InfoUrl.Should().Be("https://redacted.sh/torrents.php?id=16720&torrentid=3892313");
torrentInfo.CommentUrl.Should().BeNullOrEmpty(); torrentInfo.CommentUrl.Should().BeNullOrEmpty();
torrentInfo.Indexer.Should().Be(Subject.Definition.Name); torrentInfo.Indexer.Should().Be(Subject.Definition.Name);
torrentInfo.PublishDate.Should().Be(DateTime.Parse("2022-12-17 08:02:35")); torrentInfo.PublishDate.Should().Be(DateTime.Parse("2022-12-17 08:02:35"));

@ -24,7 +24,8 @@ namespace NzbDrone.Core.Indexers.Definitions
public class Redacted : TorrentIndexerBase<RedactedSettings> public class Redacted : TorrentIndexerBase<RedactedSettings>
{ {
public override string Name => "Redacted"; public override string Name => "Redacted";
public override string[] IndexerUrls => new[] { "https://redacted.ch/" }; public override string[] IndexerUrls => new[] { "https://redacted.sh/" };
public override string[] LegacyUrls => new[] { "https://redacted.ch/" };
public override string Description => "REDActed (Aka.PassTheHeadPhones) is one of the most well-known music trackers."; public override string Description => "REDActed (Aka.PassTheHeadPhones) is one of the most well-known music trackers.";
public override IndexerPrivacy Privacy => IndexerPrivacy.Private; public override IndexerPrivacy Privacy => IndexerPrivacy.Private;
public override IndexerCapabilities Capabilities => SetCapabilities(); public override IndexerCapabilities Capabilities => SetCapabilities();

Loading…
Cancel
Save