Merge pull request #410 from beniz/ddg_url_encoding_utf8

ddg encoding of URLs to UTF-8
This commit is contained in:
Adam Tauber 2015-09-01 17:59:44 +02:00
commit 7e893ce3f4

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