From 22c94ec1496f61767300c31390ae2446cde4cee0 Mon Sep 17 00:00:00 2001 From: asciimoo Date: Sun, 27 Oct 2013 14:23:53 +0100 Subject: [PATCH] [fix] using https links --- searx/engines/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index 7447e8f8f..3c8186a31 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -153,8 +153,7 @@ def search(query, request, selected_categories): if duplicated['parsed_url'].scheme == 'https': continue elif res['parsed_url'].scheme == 'https': - duplicated['parsed_url'].scheme == 'https' - duplicated['url'] = duplicated['parsed_url'].geturl() + duplicated['url'] = res['parsed_url'].geturl() else: res['score'] = score results.append(res)