Demo Online Engine

Within this module we implement a demo online engine. Do not look to close to the implementation, its just a simple example which queries The Art Institute of Chicago

To get in use of this demo engine add the following entry to your engines list in settings.yml:

- name: my online engine
  engine: demo_online
  shortcut: demo
  disabled: false
searx.engines.demo_online.init(engine_settings)[source]

Initialization of the (online) engine. If no initialization is needed, drop this init function.

searx.engines.demo_online.request(query, params)[source]

Build up the params for the online request. In this example we build a URL to fetch images from artic.edu

searx.engines.demo_online.response(resp)[source]

Parse out the result items from the response. In this example we parse the response from api.artic.edu and filter out all images.