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
         # append result
72
         # append result
73
         results.append({'title': title,
73
         results.append({'title': title,
74
                         'content': content,
74
                         'content': content,
75
-                        'url': res_url})
75
+                        'url': res_url.encode('utf8')})
76
 
76
 
77
     # return results
77
     # return results
78
     return results
78
     return results