logo

searx

My custom branche(s) on searx, a meta-search engine
commit: ead8456a2bb0ae3f9d95ee68e444f446d8d61245
parent: 79705450dfdf321c19839bce23c56d9d4a86ba68
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Fri, 26 Feb 2016 12:26:14 +0100

Merge pull request #512 from ldidry/refix-428

Fix results with no scheme

Diffstat:

Msearx/results.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/searx/results.py b/searx/results.py @@ -138,6 +138,7 @@ class ResultContainer(object): # if the result has no scheme, use http as default if not result['parsed_url'].scheme: result['parsed_url'] = result['parsed_url']._replace(scheme="http") + result['url'] = result['parsed_url'].geturl() result['host'] = result['parsed_url'].netloc