.oO SearXNG Developer Documentation Oo.
|
Functions | |
request (query, params) | |
replace_pua_chars (text) | |
response (resp) | |
Variables | |
dict | about |
str | search_url = 'https://api.wolframalpha.com/v2/query?appid={api_key}&{query}' |
str | site_url = 'https://www.wolframalpha.com/input/?{query}' |
str | api_key = '' |
str | failure_xpath = '/queryresult[attribute::success="false"]' |
str | input_xpath = '//pod[starts-with(attribute::id, "Input")]/subpod/plaintext' |
str | pods_xpath = '//pod' |
str | subpods_xpath = './subpod' |
str | pod_primary_xpath = './@primary' |
str | pod_id_xpath = './@id' |
str | pod_title_xpath = './@title' |
str | plaintext_xpath = './plaintext' |
str | image_xpath = './img' |
str | img_src_xpath = './@src' |
str | img_alt_xpath = './@alt' |
dict | image_pods = {'VisualRepresentation', 'Illustration'} |
Wolfram|Alpha (Science)
searx.engines.wolframalpha_api.replace_pua_chars | ( | text | ) |
Definition at line 52 of file wolframalpha_api.py.
Referenced by searx.engines.wolframalpha_api.response().
searx.engines.wolframalpha_api.request | ( | query, | |
params ) |
Definition at line 44 of file wolframalpha_api.py.
searx.engines.wolframalpha_api.response | ( | resp | ) |
Definition at line 72 of file wolframalpha_api.py.
References searx.engines.wolframalpha_api.replace_pua_chars().
dict searx.engines.wolframalpha_api.about |
Definition at line 11 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.api_key = '' |
Definition at line 23 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.failure_xpath = '/queryresult[attribute::success="false"]' |
Definition at line 26 of file wolframalpha_api.py.
dict searx.engines.wolframalpha_api.image_pods = {'VisualRepresentation', 'Illustration'} |
Definition at line 40 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.image_xpath = './img' |
Definition at line 34 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.img_alt_xpath = './@alt' |
Definition at line 36 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.img_src_xpath = './@src' |
Definition at line 35 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.input_xpath = '//pod[starts-with(attribute::id, "Input")]/subpod/plaintext' |
Definition at line 27 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.plaintext_xpath = './plaintext' |
Definition at line 33 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.pod_id_xpath = './@id' |
Definition at line 31 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.pod_primary_xpath = './@primary' |
Definition at line 30 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.pod_title_xpath = './@title' |
Definition at line 32 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.pods_xpath = '//pod' |
Definition at line 28 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.search_url = 'https://api.wolframalpha.com/v2/query?appid={api_key}&{query}' |
Definition at line 21 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.site_url = 'https://www.wolframalpha.com/input/?{query}' |
Definition at line 22 of file wolframalpha_api.py.
str searx.engines.wolframalpha_api.subpods_xpath = './subpod' |
Definition at line 29 of file wolframalpha_api.py.