Fixed: omgwtfnzbs URL changed to .org
This commit is contained in:
parent
89cfb5c9b1
commit
4ade27427b
|
@ -1,24 +1,24 @@
|
||||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
||||||
<channel>
|
<channel>
|
||||||
<generator>omgwtfnzbs.com rss feeds generator</generator>
|
<generator>omgwtfnzbs.org rss feeds generator</generator>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<title>Search NZB Download Feed</title>
|
<title>Search NZB Download Feed</title>
|
||||||
<link>http://rss.omgwtfnzbs.com</link>
|
<link>http://rss.omgwtfnzbs.org</link>
|
||||||
<description>auto-dl feed for omgwtfnzbs.com</description>
|
<description>auto-dl feed for omgwtfnzbs.org</description>
|
||||||
<copyright>2010 - 2012 omgwtfnzbs</copyright>
|
<copyright>2010 - 2012 omgwtfnzbs</copyright>
|
||||||
<atom:link href="http://rss.omgwtfnzbs.com/rss-search.php?catid=19,20&eng=1" rel="self" type="application/rss+xml" />
|
<atom:link href="http://rss.omgwtfnzbs.org/rss-search.php?catid=19,20&eng=1" rel="self" type="application/rss+xml" />
|
||||||
<pubDate>Mon, 17 Dec 2012 23:30:16 +0000</pubDate>
|
<pubDate>Mon, 17 Dec 2012 23:30:16 +0000</pubDate>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Stephen.Fry.Gadget.Man.S01E05.HDTV.x264-C4TV</title>
|
<title>Stephen.Fry.Gadget.Man.S01E05.HDTV.x264-C4TV</title>
|
||||||
<pubDate>Mon, 17 Dec 2012 23:30:13 +0000</pubDate>
|
<pubDate>Mon, 17 Dec 2012 23:30:13 +0000</pubDate>
|
||||||
<guid>http://api.omgwtfnzbs.com/sn.php?id=OAl4g&user=nzbdrone&api=nzbdrone</guid>
|
<guid>http://api.omgwtfnzbs.org/sn.php?id=OAl4g&user=nzbdrone&api=nzbdrone</guid>
|
||||||
<link>http://api.omgwtfnzbs.com/sn.php?id=OAl4g&user=nzbdrone&api=nzbdrone</link>
|
<link>http://api.omgwtfnzbs.org/sn.php?id=OAl4g&user=nzbdrone&api=nzbdrone</link>
|
||||||
<description><![CDATA[<b>Category:</b> TV: STD<br /><b>Size:</b> 225.85 MB<br /><b>Group:</b> alt.binaries.teevee<br /><b>Added to index:</b> 17/12/2012 23:30:04<br /><b>Added to usenet:</b> 17/12/2012 23:30:13<br /><b>Weblink:</b> <a href="http://www.tvrage.com/shows/id-33431" target="_blank">http://www.tvrage.com/shows/id-33431</a><br /><b>View NZB:</b> <a href="http://omgwtfnzbs.com/details.php?id=OAl4g" target="_blank">http://omgwtfnzbs.com/details.php?id=OAl4g</a>]]></description>
|
<description><![CDATA[<b>Category:</b> TV: STD<br /><b>Size:</b> 225.85 MB<br /><b>Group:</b> alt.binaries.teevee<br /><b>Added to index:</b> 17/12/2012 23:30:04<br /><b>Added to usenet:</b> 17/12/2012 23:30:13<br /><b>Weblink:</b> <a href="http://www.tvrage.com/shows/id-33431" target="_blank">http://www.tvrage.com/shows/id-33431</a><br /><b>View NZB:</b> <a href="http://omgwtfnzbs.org/details.php?id=OAl4g" target="_blank">http://omgwtfnzbs.org/details.php?id=OAl4g</a>]]></description>
|
||||||
<category>TV: STD</category>
|
<category>TV: STD</category>
|
||||||
<cattext>tv.sd</cattext>
|
<cattext>tv.sd</cattext>
|
||||||
<categoryid>19</categoryid>
|
<categoryid>19</categoryid>
|
||||||
<enclosure url="http://api.omgwtfnzbs.com/sn.php?id=OAl4g&user=nzbdrone&api=nzbdrone" length="236822906" type="application/x-nzb" />
|
<enclosure url="http://api.omgwtfnzbs.org/sn.php?id=OAl4g&user=nzbdrone&api=nzbdrone" length="236822906" type="application/x-nzb" />
|
||||||
</item>
|
</item>
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
File diff suppressed because it is too large
Load Diff
|
@ -219,7 +219,7 @@ namespace NzbDrone.Core.Test.IndexerTests
|
||||||
WithConfiguredIndexers();
|
WithConfiguredIndexers();
|
||||||
|
|
||||||
Mocker.GetMock<HttpProvider>()
|
Mocker.GetMock<HttpProvider>()
|
||||||
.Setup(h => h.DownloadStream("http://rss.omgwtfnzbs.com/rss-search.php?catid=19,20&user=MockedConfigValue&api=MockedConfigValue&eng=1", It.IsAny<NetworkCredential>()))
|
.Setup(h => h.DownloadStream("http://rss.omgwtfnzbs.org/rss-search.php?catid=19,20&user=MockedConfigValue&api=MockedConfigValue&eng=1", It.IsAny<NetworkCredential>()))
|
||||||
.Returns(File.OpenRead(".\\Files\\Rss\\SizeParsing\\omgwtfnzbs.xml"));
|
.Returns(File.OpenRead(".\\Files\\Rss\\SizeParsing\\omgwtfnzbs.xml"));
|
||||||
|
|
||||||
//Act
|
//Act
|
||||||
|
@ -479,14 +479,14 @@ namespace NzbDrone.Core.Test.IndexerTests
|
||||||
WithConfiguredIndexers();
|
WithConfiguredIndexers();
|
||||||
|
|
||||||
Mocker.GetMock<HttpProvider>()
|
Mocker.GetMock<HttpProvider>()
|
||||||
.Setup(h => h.DownloadStream("http://rss.omgwtfnzbs.com/rss-search.php?catid=19,20&user=MockedConfigValue&api=MockedConfigValue&eng=1", It.IsAny<NetworkCredential>()))
|
.Setup(h => h.DownloadStream("http://rss.omgwtfnzbs.org/rss-search.php?catid=19,20&user=MockedConfigValue&api=MockedConfigValue&eng=1", It.IsAny<NetworkCredential>()))
|
||||||
.Returns(File.OpenRead(".\\Files\\Rss\\SizeParsing\\omgwtfnzbs.xml"));
|
.Returns(File.OpenRead(".\\Files\\Rss\\SizeParsing\\omgwtfnzbs.xml"));
|
||||||
|
|
||||||
//Act
|
//Act
|
||||||
var parseResults = Mocker.Resolve<Omgwtfnzbs>().FetchRss();
|
var parseResults = Mocker.Resolve<Omgwtfnzbs>().FetchRss();
|
||||||
|
|
||||||
parseResults.Should().HaveCount(1);
|
parseResults.Should().HaveCount(1);
|
||||||
parseResults[0].NzbInfoUrl.Should().Be("http://omgwtfnzbs.com/details.php?id=OAl4g");
|
parseResults[0].NzbInfoUrl.Should().Be("http://omgwtfnzbs.org/details.php?id=OAl4g");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -30,7 +30,7 @@ namespace NzbDrone.Core.Providers.Indexer
|
||||||
{
|
{
|
||||||
return new string[]
|
return new string[]
|
||||||
{
|
{
|
||||||
String.Format("http://rss.omgwtfnzbs.com/rss-search.php?catid=19,20&user={0}&api={1}&eng=1",
|
String.Format("http://rss.omgwtfnzbs.org/rss-search.php?catid=19,20&user={0}&api={1}&eng=1",
|
||||||
_configProvider.OmgwtfnzbsUsername, _configProvider.OmgwtfnzbsApiKey)
|
_configProvider.OmgwtfnzbsUsername, _configProvider.OmgwtfnzbsApiKey)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue