summaryrefslogtreecommitdiff
path: root/searx/engines/scanr_structures.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/scanr_structures.py')
-rw-r--r--searx/engines/scanr_structures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/scanr_structures.py b/searx/engines/scanr_structures.py
index 72fd2b3c9..7208dcb70 100644
--- a/searx/engines/scanr_structures.py
+++ b/searx/engines/scanr_structures.py
@@ -29,7 +29,7 @@ def request(query, params):
params['url'] = search_url
params['method'] = 'POST'
params['headers']['Content-type'] = "application/json"
- params['data'] = dumps({"query": query,
+ params['data'] = dumps({"query": query.decode('utf-8'),
"searchField": "ALL",
"sortDirection": "ASC",
"sortOrder": "RELEVANCY",