summaryrefslogtreecommitdiff
path: root/searx/engines/subtitleseeker.py
diff options
context:
space:
mode:
authormarc <a01200356@itesm.mx>2016-12-13 23:51:15 -0600
committermarc <a01200356@itesm.mx>2016-12-13 23:51:15 -0600
commite0c270bd72f7b2a40222e3ed264e25d36cb0fc30 (patch)
tree2a0d67f6d5874350baf0ec6733e1e1241df2ad1f /searx/engines/subtitleseeker.py
parent1b46ecd21a15cdea4234a568e9ac973bb6b65b8a (diff)
downloadsearxng-e0c270bd72f7b2a40222e3ed264e25d36cb0fc30.tar.gz
searxng-e0c270bd72f7b2a40222e3ed264e25d36cb0fc30.zip
tests for language support in engines
Diffstat (limited to 'searx/engines/subtitleseeker.py')
-rw-r--r--searx/engines/subtitleseeker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/subtitleseeker.py b/searx/engines/subtitleseeker.py
index f979d0141..77b010c3f 100644
--- a/searx/engines/subtitleseeker.py
+++ b/searx/engines/subtitleseeker.py
@@ -46,7 +46,7 @@ def response(resp):
# dirty fix for languages named differenly in their site
if resp.search_params['language'][:2] == 'fa':
search_lang = 'Farsi'
- elif resp.search_params['language'] == 'pt_BR':
+ elif resp.search_params['language'] == 'pt-BR':
search_lang = 'Brazilian'
elif resp.search_params['language'] != 'all':
search_lang = [lc[3]