diff options
author | Alexandre FLAMENT <alexandre.flament@hesge.ch> | 2022-09-02 07:33:20 +0000 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-09-04 09:07:28 +0200 |
commit | dd0887be186d208846cdc7c3df13dde020dfa957 (patch) | |
tree | 2d2518e194b905407c396d70b2f8f40864869ec8 /searx/engines/jisho.py | |
parent | a15dfa5ee11228881f7a846f89196cbdb69021fb (diff) | |
download | searxng-dd0887be186d208846cdc7c3df13dde020dfa957.tar.gz searxng-dd0887be186d208846cdc7c3df13dde020dfa957.zip |
xpath engine: change raise_for_httperror to no_result_for_http_status
no_result_for_http_status contains a list of HTTP status.
These HTTP status are seen an empty result list.
In other cases an exception is thrown as usual.
Previously raise_for_httperror were ignoring all HTTP error,
which make defective engines invisible in the stats.
Diffstat (limited to 'searx/engines/jisho.py')
0 files changed, 0 insertions, 0 deletions