summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-09-22 13:59:27 +0200
committerAlexandre Flament <alex@al-f.net>2020-09-22 18:59:51 +0200
commit2dbc0de0cd000459ebfdb3d015be8684e737e95c (patch)
treef0087cd5dcf9c349d5a23ebb9bccea57bd875878 /searx/webapp.py
parent21dbc7e852a5c48097c0067e78f0600972e54823 (diff)
downloadsearxng-2dbc0de0cd000459ebfdb3d015be8684e737e95c.tar.gz
searxng-2dbc0de0cd000459ebfdb3d015be8684e737e95c.zip
[mod] add searx/webadapter.py
* move searx.search.get_search_query_from_webapp to searx.webadapter * move searx.query.SearchQuery to searx.search
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-xsearx/webapp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index bba37cce1..ad9372915 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -67,10 +67,11 @@ from searx.webutils import (
get_static_files, get_result_templates, get_themes,
prettify_url, new_hmac
)
+from searx.webadapter import get_search_query_from_webapp
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
+from searx.search import SearchWithPlugins
from searx.query import RawTextQuery
from searx.autocomplete import searx_bang, backends as autocomplete_backends
from searx.plugins import plugins