The XML that page returns is as follows:03-Mar-2014 01:22:50 - DEBUG :: CP Server Thread-9 : search-url: https://INSERT_SITE_HERE/api?t=search&q=black%20science%20004%20&o=xml&cat=7030&apikey=xxxxxxxxxxxxxxxxxxx&maxage=1500
Code: Select all
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/">
<channel>
<atom:link href="https://INSERT_SITE_HERE/api?t=search&q=black%20science%20004%20&o=xml&cat=7030&apikey=xxxxxxxxxxxxxxxxxxxxxxx&maxage=1500" rel="self" type="application/rss+xml"/>
<title>INSERT_SITE_HERE</title>
<description>INSERT_SITE_HERE Feed</description>
<link>https://INSERT_SITE_HERE/</link>
<language>en-gb</language>
<webMaster>admin@INSERT_SITE_HERE (INSERT_SITE_HERE)</webMaster>
<category/>
<image>
<url>https://INSERT_SITE_HERE/</url>
<title>INSERT_SITE_HERE</title>
<link>https://INSERT_SITE_HERE/</link>
<description>Visit INSERT_SITE_HERE</description>
</image>
<newznab:response offset="0" total="1"/>
<item>
<title><REMOVED></title>
<guid isPermaLink="true">https://INSERT_SITE_HERE/details/172d55961612c5559580a246f2261267</guid>
<link>https://INSERT_SITE_HERE/getnzb/172d55961612c5559580a246f2261267.nzb&i=3400&r=xxxxxxxxxxxxxxxxxxxxxxx</link>
<comments>https://INSERT_SITE_HERE/details/172d55961612c5559580a246f2261267#nzb-info-comments</comments>
<pubDate>Thu, 27 Feb 2014 04:53:37 +0100</pubDate>
<category>Books > Comics</category>
<description><![CDATA[<div><ul><li>ID: 172d55961612c5559580a246f2261267</li><li>Name: <a href="https://INSERT_SITE_HERE/details/172d55961612c5559580a246f2261267">Black Science 004 (2014) (digital) (Son of Ultron-Empire)</a></li><li>Size: 75.79 MB </li><li>Attributes: Category - <a href="https://INSERT_SITE_HERE/browse?t=7030">Books > Comics</a></li><li>Groups: <a href="https://INSERT_SITE_HERE/browse?g=alt.binaries.comics.dcp">alt.binaries.comics.dcp</a></li><li>Poster: [email protected] (Bluerobe)</li><li>PostDate: Thu, 27 Feb 2014 00:49:57 +0100</li><li>Password: None</li></ul></div><div style="clear:both;">
]]></description>
<enclosure url="https://INSERT_SITE_HERE/getnzb/172d55961612c5559580a246f2261267.nzb&i=3400&r=xxxxxxxxxxxxxxxxxxxxxxx" length="79469379" type="application/x-nzb"/>
<newznab:attr name="category" value="7000"/>
<newznab:attr name="category" value="7030"/>
<newznab:attr name="size" value="79469379"/>
<newznab:attr name="guid" value="172d55961612c5559580a246f2261267"/>
</item>
</channel>
</rss>
Using the <link> attribute, I've downloaded it myself, and it works fine, but when Mylar sends it to nzbget, it's not the correct link. I think maybe the "&" or something is getting messed up in the url? Actually, the 'nzb' that gets sent is just html, and it's a redirect to the login page, which means that the params are not being passed in properly to the download url.
This is what it looks like:
So what it looks like is the & is getting translated into "%26" twice, so the URL is never parsed properly and send down the calling applications properly. Let me know if you need anything else on this, I suppose I can look into the code myself.03-Mar-2014 01:23:52 - DEBUG :: CP Server Thread-9 : link to retrieve via api:https://INSERT_SITE_HERE/getnzb/172d55961612c5559580a246f2261267.nzb%26i=3400%26r=xxxxxxxxxxxxxxxxx