Skip to content
Back to top
View this page
Edit this page

# Self-Info

class searx.plugins.self_info.SXNGPlugin(plg_cfg: PluginCfg )

  Simple plugin that displays information about user’s request, including the IP or HTTP User-Agent. The information is displayed in area for the “answers”.

  id: str = 'self_info'

    The ID (suffix) in the HTML form.

  keywords: list [ str ] = ['ip', 'user-agent']

    Keywords in the search query that activate the plugin. The keyword is the first word in a search query. If a plugin should be executed regardless of the search query, the list of keywords should be empty (which is also the default in the base class for Plugins).

  post_search(request: SXNG_Request, search: SearchWithPlugins ) → EngineResults

    Returns a result list only for the first page.