Qwant¶
This engine uses the Qwant API (https://api.qwant.com/v3) to implement Qwant -Web, -News, -Images and -Videos. The API is undocumented but can be reverse engineered by reading the network log of https://www.qwant.com/ queries.
For Qwant’s web-search two alternatives are implemented:
- web: uses the- api_urlwhich returns a JSON structure
- web-lite: uses the- web_lite_urlwhich returns a HTML page
Configuration¶
The engine has the following additional settings:
This implementation is used by different qwant engines in the settings.yml:
- name: qwant
  qwant_categ: web-lite  # alternatively use 'web'
  ...
- name: qwant news
  qwant_categ: news
  ...
- name: qwant images
  qwant_categ: images
  ...
- name: qwant videos
  qwant_categ: videos
  ...
Implementations¶
- searx.engines.qwant.max_page = 5¶
- 5 pages maximum ( - &p=5): Trying to do more just results in an improper redirect
- searx.engines.qwant.qwant_categ = None¶
- One of - web-lite(or- web),- news,- imagesor- videos
- searx.engines.qwant.api_url = 'https://api.qwant.com/v3/search/'¶
- URL of Qwant’s API (JSON) 
- searx.engines.qwant.web_lite_url = 'https://lite.qwant.com/'¶
- URL of Qwant-Lite (HTML)