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

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.engines
 ::1337x
 
namespace  searx.engines.mediawiki
 

Functions

 searx.engines.mediawiki.request (query, params)
 
 searx.engines.mediawiki.response (resp)
 

Variables

logging searx.engines.mediawiki.logger .Logger
 
dict searx.engines.mediawiki.about
 
list searx.engines.mediawiki.categories = ['general']
 
bool searx.engines.mediawiki.paging = True
 
int searx.engines.mediawiki.number_of_results = 5
 
str searx.engines.mediawiki.search_type = 'nearmatch'
 
bool searx.engines.mediawiki.srenablerewrites = True
 
str searx.engines.mediawiki.srsort = 'relevance'
 
str searx.engines.mediawiki.srprop = 'sectiontitle|snippet|timestamp|categorysnippet'
 
str searx.engines.mediawiki.base_url = 'https://{language}.wikipedia.org/'
 
str searx.engines.mediawiki.api_path = 'w/api.php'
 
str searx.engines.mediawiki.timestamp_format = '%Y-%m-%dT%H:%M:%SZ'