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

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.engines
 ::1337x
 
namespace  searx.engines.wikipedia
 

Functions

 searx.engines.wikipedia.get_wiki_params (sxng_locale, eng_traits)
 
 searx.engines.wikipedia.request (query, params)
 
 searx.engines.wikipedia.response (resp)
 
 searx.engines.wikipedia.fetch_traits (EngineTraits engine_traits)
 
 searx.engines.wikipedia.fetch_wikimedia_traits (EngineTraits engine_traits)
 

Variables

dict searx.engines.wikipedia.about
 
list searx.engines.wikipedia.display_type = ["infobox"]
 
bool searx.engines.wikipedia.send_accept_language_header = True
 
str searx.engines.wikipedia.list_of_wikipedias = 'https://meta.wikimedia.org/wiki/List_of_Wikipedias'
 
str searx.engines.wikipedia.wikipedia_article_depth = 'https://meta.wikimedia.org/wiki/Wikipedia_article_depth'
 
str searx.engines.wikipedia.rest_v1_summary_url = 'https://{wiki_netloc}/api/rest_v1/page/summary/{title}'
 
dict searx.engines.wikipedia.wiki_lc_locale_variants
 
dict searx.engines.wikipedia.wikipedia_script_variants
 
 searx.engines.wikipedia.lang_map = locales.LOCALE_BEST_MATCH.copy()