Problem with a feed

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
jinkira
Newbie
Newbie
Posts: 6
Joined: November 30th, 2011, 1:20 am

Problem with a feed

Post by jinkira »

My feed looks something like this : http://www.nzbsa.co.za/rss.php?cat=5&ha ... &user=5711
The fetch looks something like this : http://www.nzbsa.co.za/download.php/933 ... T9MJqpEx3x -

And I too always seem to get this error : URL Fetching failed; Unusable NZB file

I tried doing the quoting unless.. I am doing it wrong
Please help
Last edited by jinkira on November 30th, 2011, 11:36 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Problem with a feed

Post by shypike »

Don't hijack unrelated topics.
The feed is likely not supported by SABnzbd
or the links in it are not usable to retrieve actual NZB files.
Without the XML file coming from the feed, there's nothing I can do.
jinkira
Newbie
Newbie
Posts: 6
Joined: November 30th, 2011, 1:20 am

Re: Problem with a feed

Post by jinkira »

there was no intention of hijacking the other thread as the user posted the exact same problem I am currently experiencing which is not unrelated and you provided a solution that does not appear to work on my side
Re: Add by URL through API Nzb.su
Postby shypike » November 7th, 2011, 11:08 am
URL quoting for & isn't & it's %26
What you're using is HTML quoting, which is something completely different.
Illustration: http://old.zope.org/Members/4am/url_quoting
as stated above I have tried to make those Quoting changes to no luck
am I doing something wrong?

from reading quite a few forum posts, I believe there seems to be a bug with Sabnzbd's RSS Feed fetching Zipped NZB files from sites
ie
http://forums.sabnzbd.org/viewtopic.php ... ile#p56395
http://forums.sabnzbd.org/viewtopic.php ... ile#p57102
http://forums.sabnzbd.org/viewtopic.php ... ile#p51793

Apologies if I come across too strongly

Below is a snippet of the XML feed you asked for I see that the link for the download has "&amp" as you stated in the other post
how do I rectify this or is this going to be supported in an upcoming release?

Code: Select all

<?xml version="1.0" encoding="windows-1251" ?>
<rss version="0.91">
    <channel>
        <title>NZBSA</title>
        <link>http://www.nzbsa.co.za</link>
        <description>RSS Feeds</description>
        <language>en-usde</language>
        <copyright>Copyright © 2009 NZBSA</copyright>
        <webMaster>noreply@nzbsa.co.za</webMaster>
        <image>
            <title>NZBSA</title>

            <url>http://www.nzbsa.co.za/favicon.ico</url>
            <link>http://www.nzbsa.co.za</link>
            <width>16</width>
            <height>16</height>
            <description>RSS Feeds</description>
        </image>
        <item>
            <title>[Taka] Naruto Shippuuden - 228 [720p]</title>
            <link>http://www.nzbsa.co.za/download.php/88190/88190-1745.zip?user=5711&hash=tE3md8CSLzT9MJqpEx3x</link>
            <description>

                Category: Anime
                Size: 369.16 MB
                Added: 2011-10-20 17:05:46
                Description:
                [img]http://static.zoovy.com/img/gkworld/W361-H500-Bffffff/N/nn5242.jpg[/img]
                Genres: action, adventure, comedy, drama, supernatural

                Themes: ninja

                Age rating: Teenagers (May contain bloody violence, bad language, nudity)

                Plot Summary:
                Naruto Shippuuden is the continuation of the original animated TV series Naruto.The story revolves around an older and slightly more matured Uzumaki Naruto and his quest to save his friend Uchiha Sasuke from the grips of the snake-like Shinobi, Orochimaru. After 2 and a half years Naruto finally returns to his village of Konoha, and sets about putting his ambitions to work, though it will not be easy, as He has amassed a few (more dangerous) enemies, in the likes of the shinobi organization; Akatsuki.
            </description>
        </item>        
    </channel>
</rss>
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Problem with a feed

Post by shypike »

The other thread was about sending URLs to SABnzbd's API.
This requires proper URL-quoting.
Your problem is that SABnzbd cannot get working links to zipped NZB files from an RSS feed.

SABnzbd doesn't support just any RSS feed, because they all have their own formats.
We support a bunch of well-known ones and those that happen to use the same format.
The & element is no problem, this is correctly dealt with by any XML parser.
The only question is whether SABnzbd recognizes the element that holds the NZB link and whether
the link is usable. There is no quoting problem here, it's just knowing where the link is.

I will have to check if this format is/can-be supported.
jinkira
Newbie
Newbie
Posts: 6
Joined: November 30th, 2011, 1:20 am

Re: Problem with a feed

Post by jinkira »

thanks Shypike :)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Problem with a feed

Post by shypike »

I think I found the problem.
There's a very weird misunderstanding between nzbsa.co.za and SABnzbd's (or rather Python's) HTTP library.
For some reason nzbsa sends the ZIP file with additional GZIP compression.
Totally useless, but the end result is that the ZIP file is not really a ZIP file, but a ZIP.GZ file.
Obviously SABnzbd cannot handle this.

I'm not sure I can fix this, especially as this seems to be a weirdness exclusively by nzbsa.
But I'll see what I can do.
jinkira
Newbie
Newbie
Posts: 6
Joined: November 30th, 2011, 1:20 am

Re: Problem with a feed

Post by jinkira »

Thanks a whole lot Shypike
at least I can go back to the site with that answer
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Problem with a feed

Post by shypike »

I'm not sure that it's a problem with the site as such.
After all, a web browser does the download properly.
My guess is that it's misunderstanding between the site and Python's HTTP library,
possibly aggravated by the site doing something not quite standard.
I think I can create a work-around.
jinkira
Newbie
Newbie
Posts: 6
Joined: November 30th, 2011, 1:20 am

Re: Problem with a feed

Post by jinkira »

Thanks Shypike
would be great to use my RSS feeds again from that site

FYI.. Loving SAbnzbd :)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Problem with a feed

Post by shypike »

Install 0.6.12 and your problem should be solved.
Post Reply