summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-09-01 17:59:44 +0200
committerAdam Tauber <asciimoo@gmail.com>2015-09-01 17:59:44 +0200
commit7e893ce3f481f7338b07a6ea737cf75b0a410ae7 (patch)
treee32be59d51b682273857dbcbe3624b05a398049b
parentf094188780c41d665d08c7aa159968a81ca135ed (diff)
parent78a69e4c982d08a0fb49f1347d7f9db3b15d464f (diff)
downloadsearxng-7e893ce3f481f7338b07a6ea737cf75b0a410ae7.tar.gz
searxng-7e893ce3f481f7338b07a6ea737cf75b0a410ae7.zip
Merge pull request #410 from beniz/ddg_url_encoding_utf8
ddg encoding of URLs to UTF-8
-rw-r--r--searx/engines/duckduckgo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py
index 4ac2099ae..f18f3b446 100644
--- a/searx/engines/duckduckgo.py
+++ b/searx/engines/duckduckgo.py
@@ -72,7 +72,7 @@ def response(resp):
# append result
results.append({'title': title,
'content': content,
- 'url': res_url})
+ 'url': res_url.encode('utf8')})
# return results
return results