diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2019-01-07 20:38:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-07 20:38:05 +0100 |
| commit | 491792c1a58f71083f6af663bb6d93e40fa44c9f (patch) | |
| tree | 18d6b7072a2ac8de4e357f9a013c9310589dd2c9 /searx/engines/bing_videos.py | |
| parent | 35d82ed6609c8cf5d905493e1593f2cfe57ae88d (diff) | |
| parent | 1a850cf171a2820b3bf52459c4c761e372f90996 (diff) | |
Merge pull request #1446 from MarcAbonce/language_aliases_fix
[fix] Fix queries in Hebrew and Norwegian so they give results in the right language
Diffstat (limited to 'searx/engines/bing_videos.py')
| -rw-r--r-- | searx/engines/bing_videos.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/bing_videos.py b/searx/engines/bing_videos.py index 7002ac861..bf17f9168 100644 --- a/searx/engines/bing_videos.py +++ b/searx/engines/bing_videos.py @@ -48,7 +48,7 @@ def request(query, params): 'ADLT=' + safesearch_types.get(params['safesearch'], 'DEMOTE') # language cookie - language = match_language(params['language'], supported_languages).lower() + language = match_language(params['language'], supported_languages, language_aliases).lower() params['cookies']['_EDGE_S'] = 'mkt=' + language + '&F=1' # query and paging |