.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
wolframalpha_api.py File Reference

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.engines
 ::1337x
 
namespace  searx.engines.wolframalpha_api
 

Functions

 searx.engines.wolframalpha_api.request (query, params)
 
 searx.engines.wolframalpha_api.replace_pua_chars (text)
 
 searx.engines.wolframalpha_api.response (resp)
 

Variables

dict searx.engines.wolframalpha_api.about
 
str searx.engines.wolframalpha_api.search_url = 'https://api.wolframalpha.com/v2/query?appid={api_key}&{query}'
 
str searx.engines.wolframalpha_api.site_url = 'https://www.wolframalpha.com/input/?{query}'
 
str searx.engines.wolframalpha_api.api_key = ''
 
str searx.engines.wolframalpha_api.failure_xpath = '/queryresult[attribute::success="false"]'
 
str searx.engines.wolframalpha_api.input_xpath = '//pod[starts-with(attribute::id, "Input")]/subpod/plaintext'
 
str searx.engines.wolframalpha_api.pods_xpath = '//pod'
 
str searx.engines.wolframalpha_api.subpods_xpath = './subpod'
 
str searx.engines.wolframalpha_api.pod_primary_xpath = './@primary'
 
str searx.engines.wolframalpha_api.pod_id_xpath = './@id'
 
str searx.engines.wolframalpha_api.pod_title_xpath = './@title'
 
str searx.engines.wolframalpha_api.plaintext_xpath = './plaintext'
 
str searx.engines.wolframalpha_api.image_xpath = './img'
 
str searx.engines.wolframalpha_api.img_src_xpath = './@src'
 
str searx.engines.wolframalpha_api.img_alt_xpath = './@alt'
 
dict searx.engines.wolframalpha_api.image_pods = {'VisualRepresentation', 'Illustration'}