diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2019-01-15 22:11:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-15 22:11:26 +0100 |
| commit | 25367cfba13de9bec580d7d495c4e70b8ea8f76d (patch) | |
| tree | bc4f87b06f658d13d8e4f6a553b5ab90ffe00ed8 /searx/engines/archlinux.py | |
| parent | 4977ea5405954107d071235093f01d0246c31fb2 (diff) | |
| parent | 383e3cc554a3704cd8b076aa686f32b8ce78f681 (diff) | |
Merge branch 'master' into setup-no-tests
Diffstat (limited to 'searx/engines/archlinux.py')
| -rw-r--r-- | searx/engines/archlinux.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/archlinux.py b/searx/engines/archlinux.py index fc08112af..dce862f55 100644 --- a/searx/engines/archlinux.py +++ b/searx/engines/archlinux.py @@ -36,7 +36,7 @@ def locale_to_lang_code(locale): # wikis for some languages were moved off from the main site, we need to make # requests to correct URLs to be able to get results in those languages lang_urls = { - 'en': { + 'all': { 'base': 'https://wiki.archlinux.org', 'search': '/index.php?title=Special:Search&offset={offset}&{query}' }, @@ -67,7 +67,7 @@ lang_urls = { def get_lang_urls(language): if language in lang_urls: return lang_urls[language] - return lang_urls['en'] + return lang_urls['all'] # Language names to build search requests for |