diff --git a/searx/engines/qwant.py b/searx/engines/qwant.py index 18e6a65d8..167163b8e 100644 --- a/searx/engines/qwant.py +++ b/searx/engines/qwant.py @@ -138,6 +138,9 @@ def response(resp): for row in mainline: mainline_type = row.get('type', 'web') + if mainline_type != keyword: + continue + if mainline_type == 'ads': # ignore adds continue