diff options
| author | Martin Fischer <martin@push-f.com> | 2021-12-28 16:26:38 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2022-01-05 11:03:44 +0100 |
| commit | 5d74bf382012c73c701e1a4969e0f420b099db9f (patch) | |
| tree | 2980f16c640afc9fa0247536f750c642518291d4 /searx/engines | |
| parent | ab90e2ac49778153409397d4a2c34e9051963a0f (diff) | |
[enh] move dictionaries, Erowid & IMDb out of general category
The general category is the category that is searched by default.
From a privacy standpoint it doesn't make sense to send all general
queries to specialized search engines that cannot deal with those
queries anyway.
Diffstat (limited to 'searx/engines')
| -rw-r--r-- | searx/engines/duden.py | 2 | ||||
| -rw-r--r-- | searx/engines/imdb.py | 4 | ||||
| -rw-r--r-- | searx/engines/sjp.py | 2 | ||||
| -rw-r--r-- | searx/engines/translated.py | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/searx/engines/duden.py b/searx/engines/duden.py index 090295b91..da4c4f7da 100644 --- a/searx/engines/duden.py +++ b/searx/engines/duden.py @@ -19,7 +19,7 @@ about = { "language": 'de', } -categories = ['general', 'dictionaries'] +categories = ['dictionaries'] paging = True # search-url diff --git a/searx/engines/imdb.py b/searx/engines/imdb.py index bb6258cf4..0897b8dca 100644 --- a/searx/engines/imdb.py +++ b/searx/engines/imdb.py @@ -27,9 +27,7 @@ about = { "results": 'HTML', } -categories = [ - 'general', -] +categories = [] paging = False # suggestion_url = "https://sg.media-imdb.com/suggestion/{letter}/{query}.json" diff --git a/searx/engines/sjp.py b/searx/engines/sjp.py index 97a81d8a7..8342a2819 100644 --- a/searx/engines/sjp.py +++ b/searx/engines/sjp.py @@ -21,7 +21,7 @@ about = { "language": 'pl', } -categories = ['general', 'dictionaries'] +categories = ['dictionaries'] paging = False URL = 'https://sjp.pwn.pl' diff --git a/searx/engines/translated.py b/searx/engines/translated.py index 6cc56328b..9900c017b 100644 --- a/searx/engines/translated.py +++ b/searx/engines/translated.py @@ -14,7 +14,7 @@ about = { } engine_type = 'online_dictionary' -categories = ['general', 'dictionaries'] +categories = ['dictionaries'] url = 'https://api.mymemory.translated.net/get?q={query}&langpair={from_lang}|{to_lang}{key}' web_url = 'https://mymemory.translated.net/en/{from_lang}/{to_lang}/{query}' weight = 100 |