Arch Linux¶
Arch Linux Wiki¶
This implementation does not use a official API: Mediawiki provides API, but Arch Wiki blocks access to it.
- searx.engines.archlinux.fetch_traits(engine_traits: EngineTraits)[source]¶
Fetch languages from Archlinux-Wiki. The location of the Wiki address of a language is mapped in a
custom field
(wiki_netloc
). Depending on the location, thetitle
argument in the request is translated."custom": { "wiki_netloc": { "de": "wiki.archlinux.de", # ... "zh": "wiki.archlinuxcn.org" } "title": { "de": "Spezial:Suche", # ... "zh": "Special:搜索" }, },