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

pull/1/head
Emmanuel Benazera 9 years ago
parent f094188780
commit 78a69e4c98

@ -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

Loading…
Cancel
Save