ddg encoding of URLs appears to be broken, revealed when trying to pickled the results to disk

This commit is contained in:
Emmanuel Benazera 2015-09-01 16:47:56 +02:00
parent f094188780
commit 78a69e4c98

View file

@ -72,7 +72,7 @@ def response(resp):
# append result # append result
results.append({'title': title, results.append({'title': title,
'content': content, 'content': content,
'url': res_url}) 'url': res_url.encode('utf8')})
# return results # return results
return results return results