mirror of https://github.com/searxng/searxng
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.
e86c96974d
The user_agent attribute of the Flask request object is an instance of the werkzeug.user_agent.UserAgent class. This will fix the following error of the self_info plugin: > ERROR:searx.plugins.self_info: Exception while calling post_search > Traceback (most recent call last): > File "searx/plugins/__init__.py", line 203, in call > ret = getattr(plugin, plugin_type)(*args, **kwargs) > File "searx/plugins/self_info.py", line 31, in post_search > search.result_container.answers['user-agent'] = {'answer': gettext('Your user-agent is: ') + ua} > TypeError: can only concatenate str (not "UserAgent") to str |
2 months ago | |
---|---|---|
.. | ||
answerers | 4 months ago | |
botdetection | 6 months ago | |
data | 2 months ago | |
enginelib | 7 months ago | |
engines | 2 months ago | |
infopage | 2 months ago | |
metrics | 7 months ago | |
network | 3 months ago | |
plugins | 2 months ago | |
search | 7 months ago | |
static | 2 months ago | |
templates/simple | 2 months ago | |
translations | 2 months ago | |
__init__.py | 7 months ago | |
autocomplete.py | 4 months ago | |
babel_extract.py | 7 months ago | |
exceptions.py | 7 months ago | |
external_bang.py | 7 months ago | |
external_urls.py | 7 months ago | |
flaskfix.py | 7 months ago | |
limiter.py | 6 months ago | |
limiter.toml | 12 months ago | |
locales.py | 7 months ago | |
preferences.py | 7 months ago | |
query.py | 7 months ago | |
redisdb.py | 7 months ago | |
redislib.py | 7 months ago | |
results.py | 4 months ago | |
searxng.msg | 4 months ago | |
settings.yml | 2 months ago | |
settings_defaults.py | 4 months ago | |
settings_loader.py | 3 months ago | |
sxng_locales.py | 3 months ago | |
unixthreadname.py | 7 months ago | |
utils.py | 3 months ago | |
version.py | 7 months ago | |
webadapter.py | 7 months ago | |
webapp.py | 3 months ago | |
webutils.py | 7 months ago |