New: switched nyaa to HTTPS

This commit is contained in:
Keivan Beigi 2017-01-03 18:37:46 -08:00
parent ad7d571b24
commit e0ff25d5be
3 changed files with 13 additions and 13 deletions

View File

@ -1,38 +1,38 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>NyaaTorrents</title>
<link>http://www.nyaa.se/</link>
<atom:link href="http://www.nyaa.se/?page=rss" rel="self" type="application/rss+xml" />
<link>https://www.nyaa.se/</link>
<atom:link href="https://www.nyaa.se/?page=rss" rel="self" type="application/rss+xml" />
<description></description>
<item>
<title>[TSRaws] Futsuu no Joshikousei ga [Locodol] Yattemita. #07 &#40;TBS&#41;.ts</title>
<category>Raw Anime</category>
<link>http://www.nyaa.se/?page=download&#38;tid=587750</link>
<guid>http://www.nyaa.se/?page=view&#38;tid=587750</guid>
<link>https://www.nyaa.se/?page=download&#38;tid=587750</link>
<guid>https://www.nyaa.se/?page=view&#38;tid=587750</guid>
<description><![CDATA[1 seeder(s), 2 leecher(s), 0 download(s) - 2.35 GiB]]></description>
<pubDate>Thu, 14 Aug 2014 18:10:36 +0000</pubDate>
</item>
<item>
<title>[JIGGYSUB] KOI KOI 7 EP07 [R2DVD 420P H264 AC3]</title>
<category>English-translated Anime</category>
<link>http://www.nyaa.se/?page=download&#38;tid=587749</link>
<guid>http://www.nyaa.se/?page=view&#38;tid=587749</guid>
<link>https://www.nyaa.se/?page=download&#38;tid=587749</link>
<guid>https://www.nyaa.se/?page=view&#38;tid=587749</guid>
<description><![CDATA[1 seeder(s), 2 leecher(s), 25 download(s) - 1.36 GiB]]></description>
<pubDate>Thu, 14 Aug 2014 18:05:22 +0000</pubDate>
</item>
<item>
<title>[Ohys-Raws] RAIL WARS! - 07 &#40;TBS 1280x720 x264 AAC&#41;.mp4</title>
<category>Raw Anime</category>
<link>http://www.nyaa.se/?page=download&#38;tid=587748</link>
<guid>http://www.nyaa.se/?page=view&#38;tid=587748</guid>
<link>https://www.nyaa.se/?page=download&#38;tid=587748</link>
<guid>https://www.nyaa.se/?page=view&#38;tid=587748</guid>
<description><![CDATA[2 seeder(s), 111 leecher(s), 243 download(s) - 424.2 MiB]]></description>
<pubDate>Thu, 14 Aug 2014 18:02:57 +0000</pubDate>
</item>
<item>
<title>[Arabasma.com] Naruto Shippuuden - 372 [Arabic Sub] [MQ].mp4</title>
<category>Non-English-translated Anime</category>
<link>http://www.nyaa.se/?page=download&#38;tid=587747</link>
<guid>http://www.nyaa.se/?page=view&#38;tid=587747</guid>
<link>https://www.nyaa.se/?page=download&#38;tid=587747</link>
<guid>https://www.nyaa.se/?page=view&#38;tid=587747</guid>
<description><![CDATA[1 seeder(s), 0 leecher(s), 23 download(s) - 69.5 MiB]]></description>
<pubDate>Thu, 14 Aug 2014 18:01:36 +0000</pubDate>
</item>

View File

@ -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"));

View File

@ -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";
}