Passworded nzb via RSS 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
fallback
Newbie
Newbie
Posts: 3
Joined: May 15th, 2016, 4:18 am

Passworded nzb via RSS Feed

Post by fallback »

Hi guys,

i got the url "http://domain.tld/download.php?id=1337" which starts the download of an legit nzb (for eg) :
mynzb_{{PASSWORD}}.nzb

When putting the nzb in to my watched-folder, the download is added correctly and the password is recognized perfectly.

But when using the same URL within my rss feed, and adding/fetching the download from within the rss-tab in sabnzbd, it is NOT working.
The Download is added normally :

"Trying to fetch NZB from http://domain.tld/download.php?id=1337"

Shortly after this the download was added without recognizing the given password and is being stopped (as of my preferences).
So it seems to me the rss feed it self AND the nzb-file is working like it should. But somehow the password is not recognized when fetching the nzb via the rss-function of sabnzbd.

Is there maybe the possibility provide the password via the xml/rss (via some kind of header) ?

I really hope you can help :/

Thank you in advance!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Passworded nzb via RSS Feed

Post by shypike »

We don't support passwords in RSS input, because we don't know of any indexer that uses this.
Indexers use either http headers or embed the password in the NZB.
SABnzbd supports both.
fallback
Newbie
Newbie
Posts: 3
Joined: May 15th, 2016, 4:18 am

Re: Passworded nzb via RSS Feed

Post by fallback »

Thanks for your reply, shypike.

Good to know. Do you have any information on the HTTP method? How should the http header look like?

Thank you.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Passworded nzb via RSS Feed

Post by shypike »

It ought to be X-DNZB-PASSWORD.
But currently that header is not supported either, since no one uses it.
I will put in 1.1.0 though.
fallback
Newbie
Newbie
Posts: 3
Joined: May 15th, 2016, 4:18 am

Re: Passworded nzb via RSS Feed

Post by fallback »

That should do it, right?

$ curl -sI http://domain.tld/feeds/download.php?id=1790639 | grep ^X-DNZB
X-DNZB-PASSWORD: vgHdf2NJo5yhNM5adjcn

$ grep meta *nzb
<head><meta type='password'>vgHdf2NJo5yhNM5adjcn</meta></head>
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Passworded nzb via RSS Feed

Post by safihre »

Shypike, shouldn't the meta-tag already work? Or is this only for 1.1.0 that it will correctly show it?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Passworded nzb via RSS Feed

Post by shypike »

It should, but when I checked the code, I see it isn't handled at all.
So for now only passwords inside an NZB will work.
We definitely need to put it in 1.1.0
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Passworded nzb via RSS Feed

Post by safihre »

Got a question where this X-DNZB-PASSWORD is coming from, if there's a spec anywhere?
But seems SAB's website is the only place where the X-DNZB standard is described? So shouldn't we add this new option?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Passworded nzb via RSS Feed

Post by shypike »

It's used by some indexers, that all I know.
We should put on the wiki what we support, I guess.
Post Reply