summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/engines/tineye.py3
-rw-r--r--searx/settings.yml1
2 files changed, 1 insertions, 3 deletions
diff --git a/searx/engines/tineye.py b/searx/engines/tineye.py
index 5a8c86062..fe5b60393 100644
--- a/searx/engines/tineye.py
+++ b/searx/engines/tineye.py
@@ -15,7 +15,6 @@ billion images `[tineye.com] <https://tineye.com/how>`_.
"""
-from json import loads
from urllib.parse import urlencode
from datetime import datetime
@@ -64,7 +63,7 @@ def response(resp):
results = []
# Define wanted results
- json_data = loads(resp.text)
+ json_data = resp.json()
number_of_results = json_data['num_matches']
for i in json_data['matches']:
diff --git a/searx/settings.yml b/searx/settings.yml
index ac320c457..be068a10e 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -487,7 +487,6 @@ engines:
engine: tineye
shortcut: tin
timeout: 9.0
- disabled: false
- name: etymonline
engine: xpath