diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-08-01 17:59:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-01 17:59:49 +0200 |
| commit | 7c9c112484ff091a7c11df1dbb645616b57d662f (patch) | |
| tree | 844dc7ca4d31f0ff97c07d1817dbfba591420b30 /searx/search/processors/online_currency.py | |
| parent | 1fbb514a4ead209c95b4ddca0430f754a4c11554 (diff) | |
| parent | 8df1f0c47e03fe7525c40a2856dba950bab8998b (diff) | |
Merge pull request #1560 from return42/http-accept-language
[mod] add 'Accept-Language' HTTP header to online processores
Diffstat (limited to 'searx/search/processors/online_currency.py')
| -rw-r--r-- | searx/search/processors/online_currency.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/search/processors/online_currency.py b/searx/search/processors/online_currency.py index 6bd891b1d..92398239f 100644 --- a/searx/search/processors/online_currency.py +++ b/searx/search/processors/online_currency.py @@ -38,6 +38,9 @@ class OnlineCurrencyProcessor(OnlineProcessor): engine_type = 'online_currency' def get_params(self, search_query, engine_category): + """Returns a set of *request params* or ``None`` if search query does not match + to :py:obj:`parser_re`.""" + params = super().get_params(search_query, engine_category) if params is None: return None |