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!
Passworded nzb via RSS Feed
Forum rules
Help us help you:
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.
Re: Passworded nzb via RSS Feed
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.
Indexers use either http headers or embed the password in the NZB.
SABnzbd supports both.
Re: Passworded nzb via RSS Feed
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.
Good to know. Do you have any information on the HTTP method? How should the http header look like?
Thank you.
Re: Passworded nzb via RSS Feed
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.
But currently that header is not supported either, since no one uses it.
I will put in 1.1.0 though.
Re: Passworded nzb via RSS Feed
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>
$ 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>
Re: Passworded nzb via RSS Feed
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
Re: Passworded nzb via RSS Feed
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
So for now only passwords inside an NZB will work.
We definitely need to put it in 1.1.0
Re: Passworded nzb via RSS Feed
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?
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
Re: Passworded nzb via RSS Feed
It's used by some indexers, that all I know.
We should put on the wiki what we support, I guess.
We should put on the wiki what we support, I guess.