commit: 78a69e4c982d08a0fb49f1347d7f9db3b15d464f
parent f094188780c41d665d08c7aa159968a81ca135ed
Author: Emmanuel Benazera <beniz@droidnik.fr>
Date: Tue, 1 Sep 2015 16:47:56 +0200
ddg encoding of URLs appears to be broken, revealed when trying to pickled the results to disk
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