lad1337 / XDM-main-plugin-repo

The official main Plugin Repository
20 stars 11 forks source link

Newsnab Plugin #5

Open PaX101 opened 10 years ago

PaX101 commented 10 years ago

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

lad1337 commented 10 years ago

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

DejaVu commented 10 years ago

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.

lad1337 commented 10 years ago

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