summaryrefslogtreecommitdiff
path: root/searx/engines/bing_videos.py
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2019-01-15 22:11:26 +0100
committerGitHub <noreply@github.com>2019-01-15 22:11:26 +0100
commit25367cfba13de9bec580d7d495c4e70b8ea8f76d (patch)
treebc4f87b06f658d13d8e4f6a553b5ab90ffe00ed8 /searx/engines/bing_videos.py
parent4977ea5405954107d071235093f01d0246c31fb2 (diff)
parent383e3cc554a3704cd8b076aa686f32b8ce78f681 (diff)
Merge branch 'master' into setup-no-tests
Diffstat (limited to 'searx/engines/bing_videos.py')
-rw-r--r--searx/engines/bing_videos.py2
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