I'm having problems with adding urls from NZBS.org by using the API.
I tried with the following url structure (example data):
http://hostname.dns.org:8080/api?mode=a ... 2304908854
This is what is reported in the log:
2010-05-19 01:56:06,661::INFO::[urlgrabber:125] Grabbing URL http://www.nzbs.org/index.php?action=getnzb
2010-05-19 01:56:06,953::WARNING::[nzbstuff:572] Invalid NZB file index.php!action=getnzb.nzb, skipping (reason=NzbParser instance has no attribute 'groups', line=0)
2010-05-19 01:56:06,953::ERROR::[misc:831] Error getting url http://www.nzbs.org/index.php?action=getnzb (cause= "")
Is the url correct? Are there any known issues with NZBS.org and adding urls?
Cheers,
mrjanek
Problems adding NZBS.org urls
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.
Problems adding NZBS.org urls
Last edited by mrjanek on May 18th, 2010, 7:31 pm, edited 1 time in total.
Re: Problems adding NZBS.org urls
What happens if you paste the part starting with "http://www.nzbs.org/..." in the browser address bar?
Re: Problems adding NZBS.org urls
If I paste the url in my browser adress bar and hit enter it starts to download the nzb file.shypike wrote: What happens if you paste the part starting with "http://www.nzbs.org/..." in the browser address bar?
Also worth mentioning is that if I add it through the web interface by using "add by url" it works.
Re: Problems adding NZBS.org urls
I should have read your email better.
You are using the API!
What you forget to do is proper quoting.
Starting at &name=http you must replace all special characters in the full nzbs.org URL, like this:
: %3A
/ %2F
? %3F
& %26
= %3D
You are using the API!
What you forget to do is proper quoting.
Starting at &name=http you must replace all special characters in the full nzbs.org URL, like this:
: %3A
/ %2F
? %3F
& %26
= %3D
Re: Problems adding NZBS.org urls
Perfect! Got it working now.shypike wrote: I should have read your email better.
You are using the API!
What you forget to do is proper quoting.
Starting at &name=http you must replace all special characters in the full nzbs.org URL, like this:
: %3A
/ %2F
? %3F
& %26
= %3D
Thanks a lot!
Re: Problems adding NZBS.org urls
Hmm.. now I seem to be having problems with adding NZBMatrix urls.
This is the url that I enter into my browser:
http://hostname.dns.org:8080/api?mode=a ... hfhg354dfg
This produces the following in the log:
I have entered my nzbmatrix info in Config>Index sites and I'm running SABnzbd+ 0.5.2
Cheers
This is the url that I enter into my browser:
http://hostname.dns.org:8080/api?mode=a ... hfhg354dfg
This produces the following in the log:
Code: Select all
2010-05-19 16:57:31,692::INFO::[urlgrabber:125] Grabbing URL https://nzbmatrix.com/api-nzb-download.php?id=651392&username=janek&apikey=678dfgdfgdfgdg52646c2a6b
2010-05-19 16:57:32,601::WARNING::[nzbstuff:566] Invalid NZB file api-nzb-download.php!id=651392&username=janek&apikey=678047b7953fdfgdfgdfge3752646c2a6b.nzb, skipping (reason=not well-formed (invalid token), line=3)
2010-05-19 16:57:32,601::ERROR::[misc:826] Error getting url https://nzbmatrix.com/api-nzb-download.php?id=651392&username=janek&apikey=6dfgdfgdfgf76683ace3752646c2a6b (cause= "")
Cheers
Re: Problems adding NZBS.org urls
Both SABnzbd and nzbmatrix want their own apikey.
Make sure you quote the one for nzbmatrix properly.
I still see a & sign. Is the apikey for SABnzbd or for nzbmatrix ?
Make sure you quote the one for nzbmatrix properly.
I still see a & sign. Is the apikey for SABnzbd or for nzbmatrix ?
Re: Problems adding NZBS.org urls
The apikey in the link is for SABnzbd. I have entered my nzbmatrix details into sabnzbd's config page.shypike wrote: Both SABnzbd and nzbmatrix want their own apikey.
Make sure you quote the one for nzbmatrix properly.
I still see a & sign. Is the apikey for SABnzbd or for nzbmatrix ?
It seems like nzbmatrix are having some issues with their API today. I guess that's to blame since the URL used to work before.
Cheers