logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 5cbe4c53329a1fd2b949660fda25ff7a4ce6f254
parent: fff9460238f63f05113c8dfc970b69d84b99a991
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Wed, 30 Mar 2016 15:47:15 +0200

[fix] try to decode url - closes #527

Diffstat:

Msearx/results.py4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/searx/results.py b/searx/results.py @@ -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)