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_url_search.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_url_search.py')
| -rw-r--r-- | searx/search/processors/online_url_search.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/search/processors/online_url_search.py b/searx/search/processors/online_url_search.py index 2863be28e..6383fa37f 100644 --- a/searx/search/processors/online_url_search.py +++ b/searx/search/processors/online_url_search.py @@ -20,6 +20,9 @@ class OnlineUrlSearchProcessor(OnlineProcessor): engine_type = 'online_url_search' def get_params(self, search_query, engine_category): + """Returns a set of *request params* or ``None`` if search query does not match + to at least one of :py:obj:`re_search_urls`. + """ params = super().get_params(search_query, engine_category) if params is None: return None |