theotherp / nzbhydra2

Usenet meta search
Other
1.24k stars 75 forks source link

drunkenslug returns zero results in nzbhydra2 but site shows results #726

Open rrd911 opened 3 years ago

rrd911 commented 3 years ago

To recreate the issue use drunkenslug as the indexer and search for any of the following terms (or any term dual audio princess

NZBhydra2 returns no results

go to the drunkenslug web page and use the search and there are numerous results.

I see the following error in the logs uncertain if it is related:

Unable to parse indexer output at line 1 and column 10 with error message: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.. Excerpt: <!DOCTYPE html> Login - DS <script src="/themes/shared/libs/jquery-2.2.x/dist/jquery.min.js" type="a69d404b6d2e1641ecb4fb62-text/javascript"> <script type="a69d404b6d2e1641ecb4fb62-text/javascript" src="/themes/shared/libs/jquery-migrate-1.4.x/jquery-migrate.min.js"> <script src="/themes/shared/libs/colorbox-1.6.x/jquery.colorbox-min.js" type="a69d404b6d2e1641ecb4fb62-text/javascript"> <script src="/themes/shared/js/jquery.qtip.min.js" type="a69d404b6d2e1641ecb4fb62-text/javascript"> <script type="a69d404b6d2e1641ecb4fb62-text/javascript" src="/themes/Gamma/scripts/utils.js"> <script src="/themes/shared/libs/autosize-3.0.x/dist/autosize.min.js" type="a69d404b6d2e1641ecb4fb62-text/javascript"> <script type="a69d404b6d2e1641ecb4fb62-text/javascript" src="/themes/shared/js/sorttable.js"> <script src="/themes/shared/libs/bootstrap-3.3.x/dist/js/bootstrap.min.js" type="a69d404b6d2e1641ecb4fb62-text/javascript"> <script type="a69d404b6d2e1641ecb4fb62-text/javascript" src="/themes/shared/libs/bootstrap-hover-dropdown-2.2.x/bootstrap-hover-dropdown.min.js"> <script type="a69d404b6d2e1641ecb4fb62-text/javascript" src="/themes/Gamma/scripts/jquery.pnotify.js"> <script type="a69d404b6d2e1641ecb4fb62-text/javascript"> / <![CDATA[ / var WWW_TOP = ""; var SERVERROOT = "/";

Set your log file level to debug, repeat the steps that cause the problem and post the debug infos ZIP which can be retrieved in the System / Bugreport section http://127.0.0.1:5076/system/bugreport. If other tools are involved post their logs as well.

You don't have to follow the next steps by the letter, just think about what you're trying to achieve ;-)

I will close your issues if I you didn't provide proper information as described as above

The more information you provide up front the higher the chance that I can help you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/theotherp/nzbhydra2/issues/726, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNUA6MXXGQY7YFF3ZGKR73UBDWM5ANCNFSM5DXUOA3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

rrd911 commented 3 years ago

Her is what I have discovered

how to test- add entries to config-> search tab -> forbidden words

I get no results if I have any words in the forbidden words section. if I remove the forbidden words then I get results

I checked the logs and saw this for drunken slug Drunken Slug: Calling https://drunkenslug.com/api?apikey=&t=search&extended=1&q=dubbed%20--german&password=0&limit=100&offset=0

resulting xml file

DS DS API Details https://drunkenslug.com/ en-gb ds@drunkenslug.com DS drunkenslug, ds, slug nZEDb 10 https://drunkenslug.com/apihelp/
theotherp commented 3 years ago

In the future please open a new issue if the problem is a different one than the original one.

I don't have access to nzb.su so I can't check it. Please search their page for how forbidden words are to be marked.

I cannot reproduce this problem with DS. Please recheck its caps in the indexer config. The log should say Indexer Drunken Slug uses backend type NZEDB which will make it use "!" to mark forbidden words (instead of "--"), e.g. https://drunkenslug.com/api?apikey=&t=search&extended=1&q=dubbed%20!german&password=0&limit=100&offset=0