Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3bcca43a authored by Noémi Ványi's avatar Noémi Ványi
Browse files

Fix qwant engine, only get results from categories

Closes #3014
parent ee86a635
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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