ddg encoding of URLs appears to be broken, revealed when trying to pickled the results to disk
commit78a69e4c982d08a0fb49f1347d7f9db3b15d464f
authorEmmanuel Benazera <beniz@droidnik.fr>
dateTue 1 Sep 2015, 16:47 (11 years ago)
parentf094188
searx/engines/duckduckgo.py+1−1
@@ -72,7 +72,7 @@ def response(resp):
7272 # append result
7373 results.append({'title': title,
7474 'content': content,
75− 'url': res_url})
75+ 'url': res_url.encode('utf8')})
7676
7777 # return results
7878 return results