diff options
author | Alexandre Flament <alex@al-f.net> | 2020-09-19 18:25:24 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-09-22 11:57:06 +0200 |
commit | ad0758e52a900186f203c61373b6ef3c63240065 (patch) | |
tree | b1603ebec0f86d7f678fdbddbd2e45a981e91f22 /searx/webapp.py | |
parent | f9664037a6424bffc6a7bb7af9dcccc07e7c3d84 (diff) | |
download | searxng-ad0758e52a900186f203c61373b6ef3c63240065.tar.gz searxng-ad0758e52a900186f203c61373b6ef3c63240065.zip |
[mod] add searx/webutils.py
contains utility functions and classes used only by webapp.py
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-x | searx/webapp.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index f2ef8b209..90bc8fc6e 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -62,11 +62,12 @@ from searx.exceptions import SearxParameterException from searx.engines import ( categories, engines, engine_shortcuts, get_engines_stats, initialize_engines ) -from searx.utils import ( - UnicodeWriter, highlight_content, html_to_text, get_resources_directory, - get_static_files, get_result_templates, get_themes, gen_useragent, - dict_subset, prettify_url, match_language +from searx.webutils import ( + UnicodeWriter, highlight_content, get_resources_directory, + get_static_files, get_result_templates, get_themes, + prettify_url, new_hmac ) +from searx.utils import html_to_text, gen_useragent, dict_subset, match_language from searx.version import VERSION_STRING from searx.languages import language_codes as languages from searx.search import SearchWithPlugins, get_search_query_from_webapp @@ -76,7 +77,6 @@ from searx.plugins import plugins from searx.plugins.oa_doi_rewrite import get_doi_resolver from searx.preferences import Preferences, ValidationException, LANGUAGE_CODES from searx.answerers import answerers -from searx.utils import new_hmac # check if the pyopenssl package is installed. # It is needed for SSL connection without trouble, see #298 |