mirror of
https://github.com/searxng/searxng.git
synced 2025-12-24 12:40:05 +00:00
[fix] try to decode url - closes #527
This commit is contained in:
@@ -116,6 +116,10 @@ class ResultContainer(object):
|
||||
self.results[engine_name].extend(results)
|
||||
|
||||
for i, result in enumerate(results):
|
||||
try:
|
||||
result['url'] = result['url'].decode('utf-8')
|
||||
except:
|
||||
pass
|
||||
position = i + 1
|
||||
self._merge_result(result, position)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user