Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] make ina engine compatible with the new response json

Adam Tauber0ba71c3644c4
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):