Tensai75 / NZBDonkey

The utlimate NZB downloader extension for Chrome and Firefox
https://tensai75.github.io/NZBDonkey/
MIT License
61 stars 6 forks source link

nzbking bad results #13

Closed snappy-1 closed 3 years ago

snappy-1 commented 3 years ago

Looks like the top match from nzbking was a partial match of a nzb inside a zip that included 29000 nzbs, all of which sabnzbd helpfully loaded. Putting double-quotes around nzbking searches may force more accuracy.

Tensai75 commented 3 years ago

Thanks for opening this issue and updating your rating in the mozilla store. Can you please tell me which header you were searching for which then resulted in this false hit? I will certainly look into this and try to improve the accuracy.

snappy-1 commented 3 years ago

very nsfw... u4a-lady.dee.dp.720p

Tensai75 commented 3 years ago

Thanks.

Yeah, putting it into double-quotes resolves the issue in this case. I will probably update the search URL for NZBKing and place double-quotes around the search term in a next update. Meanwhile you can actually change it for yourself.

In the NZBDonkey settings go to "NZB Search Engines" and deactivate NZBKing in the "Default Search Engines". Then add and activate a "Custom Search Engine" with the following settings:

Search Engine Name: NZBKing with double-quotes (or any other name you want to give it) Search URL: https://nzbking.com/?q="%s" (note the double-quotes arround the %s) Response Type: HTML JSON object path / Regex expression: href="\/nzb:(.*?)\/" Group no.: 1 Download URL: https://nzbking.com/nzb:%s/

image

Now NZBDonkey will search NZBKing with double-quotes arround the search term. Hope this helps.

Regards, Tensai

snappy-1 commented 3 years ago

thanks, Custom Search Engine worked great