diff options
| author | Noémi Ványi <sitbackandwait@gmail.com> | 2019-01-06 15:27:46 +0100 |
|---|---|---|
| committer | Noémi Ványi <sitbackandwait@gmail.com> | 2019-01-07 21:19:00 +0100 |
| commit | b63d645a52d663036b97e31a59818d79faa4da81 (patch) | |
| tree | 6ba72217200a0f52f82ba8244afbee19c24d098c /searx/engines/archlinux.py | |
| parent | 491792c1a58f71083f6af663bb6d93e40fa44c9f (diff) | |
Revert "remove 'all' option from search languages"
This reverts commit 4d1770398a6af8902e75c0bd885781584d39e796.
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 |