Page 1 of 1

Integrated search with NZBs.org using GET via RSS

Posted: April 25th, 2010, 3:40 pm
by RonnieG
So, there's a really old thread about NZBs.org in here, but since it was over 120 days the board suggested I make a new post, and this topic is a little different anyway.

How about an integrated search feature for NZBs.org?  This would be fantastic since it's a free site, and seemingly easy given the RSS options they supply.  For instance, if an option was added to settings to store your unique URL code, I.E.:

nzbs.org/rss.php?action=search&q=SEARCH+STRING&catid=&i=#####&h=ABCDEFGHIJKLMNOP&dl=1

Then a search box could be added to the homescreen of sabnzbd that returns parsed results from that query.  Since it uses the RSS engine from NZBs.org, it returns everything back in easily parsible XML, including links to viewing NFO files, etc.  Categories could even be searchable, too:

nzbs.org/rss.php?action=search&q=SEARCH+STRING&catid=1&i=#####&h=ABCDEFGHIJKLMNOP&dl=1

Thanks.

Re: Integrated search with NZBs.org using GET via RSS

Posted: April 25th, 2010, 3:56 pm
by inpheaux
This is essentially how monotre.me works.

Despite how easy it may sound to do, we are not planning on integrating any search services into SABnzbd. We didn't do it with Newzbin, we won't do it with anywhere else.

However, once we get our plugin system working there shouldn't be anything stopping people from adding it in.

Re: Integrated search with NZBs.org using GET via RSS

Posted: April 25th, 2010, 7:48 pm
by RonnieG
Sounds good, in the meantime, I've created a PHP script that anyone can use on their site to allow direct downloads to the watch folder with category.  You can:
  • Upload an nzb (or torrent) to a Watch Folder
  • Get a URL to a Watch Folder (with category selection)
  • Search nzbs.org, click download (which pre-fills URL and scrolls back to the top)
Attached is a screenshot, but is there anyway to distribute this through the forum if anyone wants it?  I'll also be happy to rewrite as a plugin when the option is available.

Thanks.