XDM-main-plugin-repo icon indicating copy to clipboard operation
XDM-main-plugin-repo copied to clipboard

Newsnab Plugin

Open PaX101 opened this issue 11 years ago • 3 comments

Hi,

Just to let you knwo there appears to be an issues with the newsnab api function. It looks like the searchForElement function is not sendng the actual api key but is instead using: api?apikey=##apikey##. This is causing Json decoder to return an error and as such not search correctly.

I have mannualy checked the request and it returns as error code 200 - Missing Element

This bug was found whilst using Ubuntu 12.04 LTS with Python 2.7

PaX101 avatar Oct 31 '13 13:10 PaX101

##apikey## is just a placeholder so you dont have the apikey exposed when sending logs you can disable it with the start option "--dev" (i think there is also an option)

there must be a different issue are the categories set ? they should be a number, this is the id that newznab uses for the category there is also a get categories button in the plugin that should fill them

lad1337 avatar Oct 31 '13 14:10 lad1337

I too am getting this on a windows install with my own private indexer. Categories are set with there ID numbers. I will try starting with --dev option to see if the problem goes away.

DejaVu avatar Dec 27 '13 15:12 DejaVu

do you get when you open

http://<your_indexer_url>/api?t=caps&o=json

it should look something like http://nzbs2go.com/api?t=caps&o=json

lad1337 avatar Dec 31 '13 10:12 lad1337