commit: 7e893ce3f481f7338b07a6ea737cf75b0a410ae7
parent: f094188780c41d665d08c7aa159968a81ca135ed
Author: Adam Tauber <asciimoo@gmail.com>
Date: Tue, 1 Sep 2015 17:59:44 +0200
Merge pull request #410 from beniz/ddg_url_encoding_utf8
ddg encoding of URLs to UTF-8
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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