Login or Register

Forum

API returning results from incorrect categories

Reply
By Message
nzmike
on Jul 14, 2017
(69.6d)
I have a custom Microsoft.Net app (written in C#) that searches various NZB providers given an API url and I finding Usenet Crawler to be giving me too many results. For example, I submit this search to search for uncut magazine in category 7000 (books):

http://spotweb.usenet-crawler.com/spotweb/api?t=search&q=uncut&sort=date_desc&apikey=...&cat=7000

But it's returning all sorts of other stuff, like uncut TV programs, movies or music etc which is annoying.

I am getting this issue across any search I do (not just for books) but according to the API docs my queries, using the above format, should be correct - does anyone know what the issue might be?
nzmike
on Jul 14, 2017
(69.6d)
If it's any help here is the XML being returned for the above seach - as you can see the category is being completely ignored.

<?xml version="1.0" encoding="utf-8"?>
<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="http://spotweb.usenet-crawler.com/api" rel="self" type="application/rss+xml"/>
<title>Spotweb Index</title>
<description>Spotweb Index API Results</description>
<link>http://spotweb.usenet-crawler.com/</link>
<language>en-gb</language>
<webMaster>[email protected] (usenet crawler)</webMaster>
<category/>
<image>
<url>http://spotweb.usenet-crawler.com/images/spotnet.gif</url>
<title>Spotweb Index</title>
<link>http://spotweb.usenet-crawler.com/</link>
<description>SpotWeb Index API Results</description>
</image>
<newznab:response offset="0" total="50"/>
<item>
<title>Sky Sports Formule 1 2017 GP van Oostenrijk: Race UNCUT (1080p50)</title>
<guid isPermaLink="false">[email protected]</guid>
<link>http://spotweb.usenet-crawler.com/api?t=g&amp;id=kzwSPOlsMWUQsljWQLXFK@spot.net&amp;apikey=...</link>
<pubDate>Mon, 10 Jul 2017 22:01:41 +0000</pubDate>
<category>Image &gt; x264HD</category>
<enclosure url="http://spotweb.usenet-crawler.com/api?t=g&amp;id=kzwSPOlsMWUQsljWQLXFK@spot.net&amp;apikey=..." length="14947175875" type="application/x-nzb"/>
<newznab:attr name="category" value="5000"/>
<newznab:attr name="category" value="5040"/>
<newznab:attr name="size" value="14947175875"/>
<newznab:attr name="poster" value="[email protected]"/>
<newznab:attr name="comments" value="5"/>
</item>
<item>
<title>Sky Sports Formule 1 2017 GP van Oostenrijk: Race UNCUT (720p50)</title>
<guid isPermaLink="false">[email protected]</guid>
<link>http://spotweb.usenet-crawler.com/api?t=g&amp;id=Kpe5C5LF8DAmw9jWQR9ih@spot.net&amp;apikey=...</link>
<pubDate>Mon, 10 Jul 2017 05:24:45 +0000</pubDate>
<category>Image &gt; x264HD</category>
<enclosure url="http://spotweb.usenet-crawler.com/api?t=g&amp;id=Kpe5C5LF8DAmw9jWQR9ih@spot.net&amp;apikey=..." length="7380124187" type="application/x-nzb"/>
<newznab:attr name="category" value="5000"/>
<newznab:attr name="category" value="5040"/>
<newznab:attr name="size" value="7380124187"/>
<newznab:attr name="poster" value="[email protected]"/>
<newznab:attr name="comments" value="8"/>
</item>
<item>
<title>Sky Sports Formule 1 2017 GP van Oostenrijk: Race UNCUT (1080p50)</title>
<guid isPermaLink="false">8Tkft6RlRqM3wZjWQ4UVM[email protected]</guid>
<link>http://spotweb.usenet-crawler.com/api?t=g&amp;id=8Tkft6RlRqM3wZjWQ4UVM@spot.net&amp;apikey=...</link>
<pubDate>Mon, 10 Jul 2017 04:47:28 +0000</pubDate>
<category>Image &gt; x264HD</category>
<enclosure url="http://spotweb.usenet-crawler.com/api?t=g&amp;id=8Tkft6RlRqM3wZjWQ4UVM@spot.net&amp;apikey=..." length="7380124187" type="application/x-nzb"/>
<newznab:attr name="category" value="5000"/>
<newznab:attr name="category" value="5040"/>
<newznab:attr name="size" value="7380124187"/>
<newznab:attr name="poster" value="[email protected]"/>
<newznab:attr name="comments" value="1"/>
</item>
<item>
<title>Sky Sports Formule 1 2017 GP van Oostenrijk: Race UNCUT (SD)</title>
<guid isPermaLink="false">[email protected]</guid>
<link>http://spotweb.usenet-crawler.com/api?t=g&amp;id=Czzqu2z6xBs3AZjWQ2RDc@spot.net&amp;apikey=...</link>
<pubDate>Mon, 10 Jul 2017 04:47:25 +0000</pubDate>
<category>Image &gt; x264HD</category>
<enclosure url="http://spotweb.usenet-crawler.com/api?t=g&amp;id=Czzqu2z6xBs3AZjWQ2RDc@spot.net&amp;apikey=..." length="2498630700" type="application/x-nzb"/>
<newznab:attr name="category" value="5000"/>
<newznab:attr name="category" value="5040"/>
<newznab:attr name="size" value="2498630700"/>
<newznab:attr name="poster" value="[email protected]"/>
<newznab:attr name="comments" value="1"/>
</item>
<item>
<title>Sky Sports Formule 1 2017 GP van Oostenrijk: Qualifying UNCUT (1080p50)</title>
<guid isPermaLink="false">[email protected]</guid>
<link>http://spotweb.usenet-crawler.com/api?t=g&amp;id=0VsvSAhF6nMWrJhWQPpkT@spot.net&amp;apikey=...</link>
<pubDate>Sun, 09 Jul 2017 04:34:34 +0000</pubDate>
<category>Image &gt; x264HD</category>
<enclosure url="http://spotweb.usenet-crawler.com/api?t=g&amp;id=0VsvSAhF6nMWrJhWQPpkT@spot.net&amp;apikey=..." length="7858709785" type="application/x-nzb"/>
<newznab:attr name="category" value="5000"/>
<newznab:attr name="category" value="5040"/>
<newznab:attr name="size" value="7858709785"/>
<newznab:attr name="poster" value="K
Top

Add Reply

Upgrade to BFF required