logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 88dfee858e93e54ad6e54801f88b93bfdc2bb149
parent: 96f182d75d76a77457137abd89b3cc374c26aa9f
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Mon, 14 Nov 2016 17:25:21 +0100

[fix] rewrite missing variable

Diffstat:

Msearx/plugins/doai_rewrite.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/plugins/doai_rewrite.py b/searx/plugins/doai_rewrite.py @@ -27,5 +27,5 @@ def on_result(request, search, result): if doi.endswith(suffix): doi = doi[:-len(suffix)] result['url'] = 'http://doai.io/' + doi - result['parsed_url'] = urlparse(ctx['result']['url']) + result['parsed_url'] = urlparse(result['url']) return True