diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-11-14 17:25:21 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-11-14 17:25:21 +0100 |
commit | 88dfee858e93e54ad6e54801f88b93bfdc2bb149 (patch) | |
tree | c96125e371be3e8ab96045f00d4ef6f502b68694 /searx/plugins | |
parent | 96f182d75d76a77457137abd89b3cc374c26aa9f (diff) | |
download | searxng-88dfee858e93e54ad6e54801f88b93bfdc2bb149.tar.gz searxng-88dfee858e93e54ad6e54801f88b93bfdc2bb149.zip |
[fix] rewrite missing variable
Diffstat (limited to 'searx/plugins')
-rw-r--r-- | searx/plugins/doai_rewrite.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/plugins/doai_rewrite.py b/searx/plugins/doai_rewrite.py index 0142af672..a6e15ae5a 100644 --- 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 |