pillone / usntssearch

NZB Metasearch engine
pillone.github.io/usntssearch
265 stars 79 forks source link

PirateNZB #157

Open albino1 opened 8 years ago

albino1 commented 8 years ago

Mirabis,

First I just wanted to say thanks for the changes you made a few weeks ago to NZBM. I don't think there's an auto-update feature, so I just now noticed them in the commit log.

I went ahead and updated by hand, and filled in my credentials for PirateNZB, but it doesn't appear to even be attempting to search the indexer.

In the example below I enabled all three of the "Other NZB engines":

al-nzbm-1

Then I ran an example search and it says it's searching 3 providers:

al-nzbm-2

But there are no results from PirateNZB, and when I check the connectivity log it only shows OMGWTFNZBS and GingaDaddy being searched:

al-nzbm-3

If I enable PirateNZB only then it says:

0 total (0 failed, 0 successful)

Let me know if I'm missing anything obvious. Thanks!

albino1 commented 8 years ago

Here's some additional info from the log:

2015-08-16 13:29:23,776 - TERMINAL_ERR - ERROR - KeyError: 'nzbguid'
2015-08-16 13:29:23,776 - TERMINAL_ERR - ERROR - 'url': 'https://piratenzb.com/api?apikey='+cfg['pwd']+'&t=get&id='+ str(data[i]['nzbguid']),
2015-08-16 13:29:23,776 - TERMINAL_ERR - ERROR - File "C:\Program Files (x86)\NZBMegaSearch\NZBMegaSearch\SearchModules\am_PirateNzb.py", line 92, in search
2015-08-16 13:29:23,776 - TERMINAL_ERR - ERROR - localResults = neededModule.search(queryString, cfg)
2015-08-16 13:29:23,776 - TERMINAL_ERR - ERROR - File "C:\Program Files (x86)\NZBMegaSearch\NZBMegaSearch\SearchModule.py", line 242, in performSearchThread
2015-08-16 13:29:23,776 - TERMINAL_ERR - ERROR - self.__target(*self.__args, **self.__kwargs)
2015-08-16 13:29:23,776 - TERMINAL_ERR - ERROR - File "C:\Program Files\Python27\lib\threading.py", line 763, in run
2015-08-16 13:29:23,776 - TERMINAL_ERR - ERROR - self.run()
2015-08-16 13:29:23,776 - TERMINAL_ERR - ERROR - File "C:\Program Files\Python27\lib\threading.py", line 810, in __bootstrap_inner
2015-08-16 13:29:23,776 - TERMINAL_ERR - ERROR - Traceback (most recent call last):
2015-08-16 13:29:23,776 - TERMINAL_ERR - ERROR - Exception in thread Thread-19: 
Mirabis commented 8 years ago

Yeh, better off adding the 'api' variant of PirateNZB : )

SimplyNZBs commented 8 years ago

Should now work with PirateNZB

Mirabis commented 8 years ago

Might be handy to notify the nzbHydra guys too :palm_tree:

SimplyNZBs commented 8 years ago

Have just let them know :)

albino1 commented 8 years ago

Confirmed, it's working in NZBMegaSearch now with just the regular NN API option, so no need for the special plugin. Thanks @PirateNZB!