Remove presets from nyaa since it changes so often

pull/2/head
Austin Best 4 years ago committed by Qstick
parent 483c2ae724
commit eb0be34924

@ -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>http://www.nyaa.si/</link>
<atom:link href="http://www.nyaa.si/?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>http://www.nyaa.si/?page=download&#38;tid=587750</link>
<guid>http://www.nyaa.si/?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>http://www.nyaa.si/?page=download&#38;tid=587749</link>
<guid>http://www.nyaa.si/?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>http://www.nyaa.si/?page=download&#38;tid=587748</link>
<guid>http://www.nyaa.si/?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>http://www.nyaa.si/?page=download&#38;tid=587747</link>
<guid>http://www.nyaa.si/?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>

@ -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("http://www.nyaa.si/?page=download&tid=587750");
torrentInfo.InfoUrl.Should().Be("http://www.nyaa.si/?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"));

@ -62,9 +62,7 @@ namespace NzbDrone.Core.Indexers.Nyaa
foreach (var queryTitle in searchCriteria.QueryTitles)
{
pageableRequests.Add(GetPagedRequests(MaxPages,
string.Format("&term={0}",
PrepareQuery(string.Format("{0} {1}", queryTitle, searchCriteria.Movie.Year)))));
pageableRequests.Add(GetPagedRequests(MaxPages, PrepareQuery(string.Format("{0} {1}", queryTitle, searchCriteria.Movie.Year))));
}
return pageableRequests;

@ -25,8 +25,8 @@ namespace NzbDrone.Core.Indexers.Nyaa
public NyaaSettings()
{
BaseUrl = "http://www.nyaa.se";
AdditionalParameters = "&cats=1_37&filter=1";
BaseUrl = "";
AdditionalParameters = "";
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
MultiLanguages = new List<int>();
RequiredFlags = new List<int>();

Loading…
Cancel
Save