Ponysearch/searx
Markus Heiser 9ff881f937 [fix] remove minimum length of content for XPath engine
Instead of raising an exception and therefore hiding all results of the engine.

It make sense to remove that requirement in order to allow the implementation of
search engines that do not always have a description.  In fact some search
engines that in 99% of the case have a description like Brave Search or Mojeek
crash completely if they for some reason included a result with no description.

To test this patch try Mojeek:

    !mjk xyz

before and after the patch.

Suggested-by: 0xhtml in https://github.com/searx/searx/discussions/2933
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-04 12:41:23 +02:00
..
answerers [fix] answers: don't crash when the query is an empty string 2021-03-01 10:52:39 +01:00
data Merge pull request #278 from searxng/update_data_update_ahmia_blacklist.py 2021-09-01 06:48:55 +00:00
engines [fix] remove minimum length of content for XPath engine 2021-09-04 12:41:23 +02:00
metrics [refactor] metrics.get_reliabilities() - make code more readable 2021-05-22 15:17:18 +02:00
network [pylint] Pylint 2.10 - unused-variable 2021-08-31 10:51:50 +02:00
plugins [mod] plugins: minor change 2021-08-14 18:03:31 +02:00
search [fix] searx.search.checker.get_result() always return a dict 2021-08-16 08:29:16 +02:00
shared [fix] checker: don't run the checker when uwsgi is not properly configured 2021-01-13 14:07:39 +01:00
static Merge pull request #276 from dalf/simple_eslint 2021-08-31 16:13:47 +00:00
templates Merge pull request #276 from dalf/simple_eslint 2021-08-31 16:13:47 +00:00
translations [translations] update 2021-09-03 07:16:39 +00:00
__init__.py [mod] drop obsolete searx.brand namespace 2021-07-21 13:38:28 +02:00
autocomplete.py [httpx] replace searx.poolrequests by searx.network 2021-04-12 17:25:56 +02:00
exceptions.py [enh] add raise_for_httperror 2020-12-11 14:37:08 +01:00
external_bang.py [mod] add utils/fetch_external_bangs.py 2021-02-24 18:48:36 +01:00
external_urls.py [enh] openstreetmap / map template: improve results 2021-06-09 18:08:23 +02:00
flaskfix.py [mod] refactor: move Flask proxy fix to searx.flaskfix module 2021-06-08 15:54:11 +02:00
languages.py [fix] get common used languages back (min_engines_per_lang = 13) 2021-08-01 13:04:24 +02:00
locales.py [mod] searx/locales.py: language names based on Unicode CLDR 2021-08-04 09:50:34 +02:00
preferences.py [pylint] Pylint 2.10 - fix use-list-literal & use-dict-literal 2021-08-31 10:40:29 +02:00
query.py [enh] autocomplete refactoring, autocomplete on external bangs 2021-03-01 19:12:32 +01:00
results.py [fix] offline engine: don't crash on time recording 2021-05-22 15:17:18 +02:00
settings.yml [enh] Add Packagist search engine (JSON) 2021-08-31 17:59:34 +02:00
settings_defaults.py [mod] remove remaining references to locales in settings.yml 2021-09-02 16:19:18 +02:00
settings_loader.py [fix] unit test: don't load /etc/searx/settings.yml 2021-05-18 17:23:21 +02:00
unixthreadname.py [mod] move hook to set Unix thread name into searx.unixthreadname 2021-06-08 15:54:11 +02:00
utils.py [mod] searx.utils.dict_subset: rewrite with comprehension 2021-08-24 15:28:08 +02:00
version.py [pylint] Pylint 2.10 - unspecified-encoding 2021-08-31 10:49:36 +02:00
webadapter.py [fix] typo in searx.webadapter.parse_lang 2021-09-04 08:39:45 +02:00
webapp.py [mod] searx.webapp: code clean up 2021-09-02 16:16:20 +02:00
webutils.py [mod] move all default settings into searx.settings_defaults 2021-06-01 08:10:15 +02:00