From b447db5d08f9fa0127570375efdee4478bbaee97 Mon Sep 17 00:00:00 2001 From: Alexander Bruun <87643857+alexander-bruun@users.noreply.github.com> Date: Sun, 24 Nov 2024 05:41:21 +0100 Subject: [PATCH] Fixed: (RED) Update indexer url (#2285) * Updated RED CNAME record * Added LegacyUrls --- .../IndexerTests/RedactedTests/RedactedFixture.cs | 4 ++-- src/NzbDrone.Core/Indexers/Definitions/Redacted.cs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Core.Test/IndexerTests/RedactedTests/RedactedFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/RedactedTests/RedactedFixture.cs index 61c664072..d7eb35cd1 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/RedactedTests/RedactedFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/RedactedTests/RedactedFixture.cs @@ -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.DownloadProtocol.Should().Be(DownloadProtocol.Torrent); - torrentInfo.DownloadUrl.Should().Be("https://redacted.ch/ajax.php?action=download&id=3892313"); - torrentInfo.InfoUrl.Should().Be("https://redacted.ch/torrents.php?id=16720&torrentid=3892313"); + torrentInfo.DownloadUrl.Should().Be("https://redacted.sh/ajax.php?action=download&id=3892313"); + torrentInfo.InfoUrl.Should().Be("https://redacted.sh/torrents.php?id=16720&torrentid=3892313"); torrentInfo.CommentUrl.Should().BeNullOrEmpty(); torrentInfo.Indexer.Should().Be(Subject.Definition.Name); torrentInfo.PublishDate.Should().Be(DateTime.Parse("2022-12-17 08:02:35")); diff --git a/src/NzbDrone.Core/Indexers/Definitions/Redacted.cs b/src/NzbDrone.Core/Indexers/Definitions/Redacted.cs index a624f9214..761b101a0 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/Redacted.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/Redacted.cs @@ -24,7 +24,8 @@ namespace NzbDrone.Core.Indexers.Definitions public class Redacted : TorrentIndexerBase { 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 IndexerPrivacy Privacy => IndexerPrivacy.Private; public override IndexerCapabilities Capabilities => SetCapabilities();