summaryrefslogtreecommitdiff
path: root/searx/engines/archlinux.py
diff options
context:
space:
mode:
authorjazzzooo <38244149+jazzzooo@users.noreply.github.com>2023-09-15 00:53:03 -0700
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-09-18 16:20:27 +0200
commit223b3487c38a2390ad936943266a44da9cbb810a (patch)
tree6dde6498a4c37731427715d01b6314b09be52897 /searx/engines/archlinux.py
parenta9b6963971327605db1509795be7795dc7401f3f (diff)
downloadsearxng-223b3487c38a2390ad936943266a44da9cbb810a.tar.gz
searxng-223b3487c38a2390ad936943266a44da9cbb810a.zip
[fix] spelling
Diffstat (limited to 'searx/engines/archlinux.py')
-rw-r--r--searx/engines/archlinux.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/archlinux.py b/searx/engines/archlinux.py
index 17bb1b6c5..9d5009ed7 100644
--- a/searx/engines/archlinux.py
+++ b/searx/engines/archlinux.py
@@ -92,7 +92,7 @@ def response(resp):
def fetch_traits(engine_traits: EngineTraits):
- """Fetch languages from Archlinix-Wiki. The location of the Wiki address of a
+ """Fetch languages from Archlinux-Wiki. The location of the Wiki address of a
language is mapped in a :py:obj:`custom field
<searx.enginelib.traits.EngineTraits.custom>` (``wiki_netloc``). Depending
on the location, the ``title`` argument in the request is translated.
@@ -128,7 +128,7 @@ def fetch_traits(engine_traits: EngineTraits):
resp = get('https://wiki.archlinux.org/')
if not resp.ok: # type: ignore
- print("ERROR: response from wiki.archlinix.org is not OK.")
+ print("ERROR: response from wiki.archlinux.org is not OK.")
dom = lxml.html.fromstring(resp.text) # type: ignore
for a in eval_xpath_list(dom, "//a[@class='interlanguage-link-target']"):