summaryrefslogtreecommitdiff
path: root/searx/engines/ina.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/ina.py')
-rw-r--r--searx/engines/ina.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/searx/engines/ina.py b/searx/engines/ina.py
index 1a47ca51e..efcc03e39 100644
--- a/searx/engines/ina.py
+++ b/searx/engines/ina.py
@@ -53,9 +53,7 @@ def response(resp):
# we get html in a JSON container...
response = loads(resp.text)
- if "content" not in response:
- return []
- dom = html.fromstring(response["content"])
+ dom = html.fromstring(response)
# parse results
for result in dom.xpath(results_xpath):