.oO SearXNG Developer Documentation Oo.
|
Functions | |
post_search (request, search) | |
Variables | |
name = gettext('Self Information') | |
description = gettext('Displays your IP if the query is "ip" and your user agent if the query contains "user agent".') | |
bool | default_on = True |
str | preference_section = 'query' |
list | query_keywords = ['user-agent'] |
str | query_examples = '' |
ip_regex = re.compile('^ip$|my ip', re.IGNORECASE) | |
ua_regex = re.compile('.*user[ -]agent.*', re.IGNORECASE) | |
searx.plugins.self_info.post_search | ( | request, | |
search ) |
Definition at line 23 of file self_info.py.
bool searx.plugins.self_info.default_on = True |
Definition at line 11 of file self_info.py.
searx.plugins.self_info.description = gettext('Displays your IP if the query is "ip" and your user agent if the query contains "user agent".') |
Definition at line 10 of file self_info.py.
searx.plugins.self_info.ip_regex = re.compile('^ip$|my ip', re.IGNORECASE) |
Definition at line 17 of file self_info.py.
searx.plugins.self_info.name = gettext('Self Information') |
Definition at line 9 of file self_info.py.
str searx.plugins.self_info.preference_section = 'query' |
Definition at line 12 of file self_info.py.
str searx.plugins.self_info.query_examples = '' |
Definition at line 14 of file self_info.py.
list searx.plugins.self_info.query_keywords = ['user-agent'] |
Definition at line 13 of file self_info.py.
searx.plugins.self_info.ua_regex = re.compile('.*user[ -]agent.*', re.IGNORECASE) |
Definition at line 20 of file self_info.py.