You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx
Markus Heiser de0249ddae [fix] don't mix loaded modules with imported modules (sys.modules)
The utils.load_module() function is used to load a python file (aka module) and
return the module's namespace.  SearXNG uses this function to load *engines and
answerers* from arbitrary locations with arbitrary modifications.  These are not
real python modules and it is not intended to mix this *engines and answerers*
with the python modules registered in sys.modules.

Closes: https://github.com/searxng/searxng/issues/312
Suggested-by: @dalf in https://github.com/searxng/searxng/issues/312
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
..
answerers [fix] answers: don't crash when the query is an empty string 3 years ago
data SearXNG: searxng_extra 3 years ago
engines [mod] engines - IMDB: add thumbnails 3 years ago
metrics [fix] error recorder: avoid RuntimeError on some rare occasion 3 years ago
network [mod] searx.network.stream returns a tuple (response, stream) 3 years ago
plugins [enh] add hostname_replace plugin 3 years ago
search [fix] searx.network.stream: fix memory leak 3 years ago
shared [fix] checker: don't run the checker when uwsgi is not properly configured 3 years ago
static [build] /static 3 years ago
templates Merge pull request #367 from dalf/searxng-github 3 years ago
translations [translations] update 3 years ago
__init__.py SearXNG: environment variables 3 years ago
autocomplete.py [httpx] replace searx.poolrequests by searx.network 3 years ago
exceptions.py [enh] add raise_for_httperror 4 years ago
external_bang.py [pylint] fix global-variable-not-assigned issues 3 years ago
external_urls.py [enh] openstreetmap / map template: improve results 3 years ago
flaskfix.py [pylint] searx: drop no longer needed 'missing-function-docstring' 3 years ago
languages.py Update searx.data - update_languages.py 3 years ago
locales.py [pylint] fix global-variable-not-assigned issues 3 years ago
preferences.py [pylint] searx: drop no longer needed 'missing-function-docstring' 3 years ago
query.py [enh] autocomplete refactoring, autocomplete on external bangs 3 years ago
results.py [fix] searx/results.py: strip result['content'] only if it exists 3 years ago
settings.yml [mod] engines - add IMDB / Internet Movie Database 3 years ago
settings_defaults.py SearXNG: environment variables 3 years ago
settings_loader.py SearXNG: environment variables 3 years ago
unixthreadname.py [pylint] searx: drop no longer needed 'missing-function-docstring' 3 years ago
utils.py [fix] don't mix loaded modules with imported modules (sys.modules) 3 years ago
version.py [pylint] searx: drop no longer needed 'missing-function-docstring' 3 years ago
webadapter.py [fix] typo in searx.webadapter.parse_lang 3 years ago
webapp.py [mod] searx.network.stream returns a tuple (response, stream) 3 years ago
webutils.py [mod] move all default settings into searx.settings_defaults 3 years ago