Browse Source

Merge pull request #410 from beniz/ddg_url_encoding_utf8

ddg encoding of URLs to UTF-8
Adam Tauber 9 years ago
parent
commit
7e893ce3f4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      searx/engines/duckduckgo.py

+ 1
- 1
searx/engines/duckduckgo.py View File

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