Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Fix qwant engine, only get results from categories
Browse files Browse the repository at this point in the history
Closes #3014
  • Loading branch information
kvch committed Oct 12, 2021
1 parent ee86a63 commit 3bcca43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions searx/engines/qwant.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,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
Expand Down

0 comments on commit 3bcca43

Please sign in to comment.