From e0ff25d5be6d32e41bec583282e208d3940f7a36 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Tue, 3 Jan 2017 18:37:46 -0800 Subject: [PATCH] New: switched nyaa to HTTPS --- .../Files/Indexers/Nyaa/Nyaa.xml | 20 +++++++++---------- .../IndexerTests/NyaaTests/NyaaFixture.cs | 4 ++-- .../Indexers/Nyaa/NyaaSettings.cs | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/NzbDrone.Core.Test/Files/Indexers/Nyaa/Nyaa.xml b/src/NzbDrone.Core.Test/Files/Indexers/Nyaa/Nyaa.xml index f13a4347c..734a9d547 100644 --- a/src/NzbDrone.Core.Test/Files/Indexers/Nyaa/Nyaa.xml +++ b/src/NzbDrone.Core.Test/Files/Indexers/Nyaa/Nyaa.xml @@ -1,38 +1,38 @@ NyaaTorrents - http://www.nyaa.se/ - + https://www.nyaa.se/ + [TSRaws] Futsuu no Joshikousei ga [Locodol] Yattemita. #07 (TBS).ts Raw Anime - http://www.nyaa.se/?page=download&tid=587750 - http://www.nyaa.se/?page=view&tid=587750 + https://www.nyaa.se/?page=download&tid=587750 + https://www.nyaa.se/?page=view&tid=587750 Thu, 14 Aug 2014 18:10:36 +0000 [JIGGYSUB] KOI KOI 7 EP07 [R2DVD 420P H264 AC3] English-translated Anime - http://www.nyaa.se/?page=download&tid=587749 - http://www.nyaa.se/?page=view&tid=587749 + https://www.nyaa.se/?page=download&tid=587749 + https://www.nyaa.se/?page=view&tid=587749 Thu, 14 Aug 2014 18:05:22 +0000 [Ohys-Raws] RAIL WARS! - 07 (TBS 1280x720 x264 AAC).mp4 Raw Anime - http://www.nyaa.se/?page=download&tid=587748 - http://www.nyaa.se/?page=view&tid=587748 + https://www.nyaa.se/?page=download&tid=587748 + https://www.nyaa.se/?page=view&tid=587748 Thu, 14 Aug 2014 18:02:57 +0000 [Arabasma.com] Naruto Shippuuden - 372 [Arabic Sub] [MQ].mp4 Non-English-translated Anime - http://www.nyaa.se/?page=download&tid=587747 - http://www.nyaa.se/?page=view&tid=587747 + https://www.nyaa.se/?page=download&tid=587747 + https://www.nyaa.se/?page=view&tid=587747 Thu, 14 Aug 2014 18:01:36 +0000 diff --git a/src/NzbDrone.Core.Test/IndexerTests/NyaaTests/NyaaFixture.cs b/src/NzbDrone.Core.Test/IndexerTests/NyaaTests/NyaaFixture.cs index ba670d632..3ceb43a55 100644 --- a/src/NzbDrone.Core.Test/IndexerTests/NyaaTests/NyaaFixture.cs +++ b/src/NzbDrone.Core.Test/IndexerTests/NyaaTests/NyaaFixture.cs @@ -42,8 +42,8 @@ namespace NzbDrone.Core.Test.IndexerTests.NyaaTests torrentInfo.Title.Should().Be("[TSRaws] Futsuu no Joshikousei ga [Locodol] Yattemita. #07 (TBS).ts"); torrentInfo.DownloadProtocol.Should().Be(DownloadProtocol.Torrent); - torrentInfo.DownloadUrl.Should().Be("http://www.nyaa.se/?page=download&tid=587750"); - torrentInfo.InfoUrl.Should().Be("http://www.nyaa.se/?page=view&tid=587750"); + torrentInfo.DownloadUrl.Should().Be("https://www.nyaa.se/?page=download&tid=587750"); + torrentInfo.InfoUrl.Should().Be("https://www.nyaa.se/?page=view&tid=587750"); torrentInfo.CommentUrl.Should().BeNullOrEmpty(); torrentInfo.Indexer.Should().Be(Subject.Definition.Name); torrentInfo.PublishDate.Should().Be(DateTime.Parse("2014/08/14 18:10:36")); diff --git a/src/NzbDrone.Core/Indexers/Nyaa/NyaaSettings.cs b/src/NzbDrone.Core/Indexers/Nyaa/NyaaSettings.cs index 024021027..4632aeb08 100644 --- a/src/NzbDrone.Core/Indexers/Nyaa/NyaaSettings.cs +++ b/src/NzbDrone.Core/Indexers/Nyaa/NyaaSettings.cs @@ -20,7 +20,7 @@ namespace NzbDrone.Core.Indexers.Nyaa public NyaaSettings() { - BaseUrl = "http://www.nyaa.se"; + BaseUrl = "https://www.nyaa.se"; AdditionalParameters = "&cats=1_37&filter=1"; }