summaryrefslogtreecommitdiff
path: root/searx/engines/translated.py
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2020-12-09 17:33:18 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2020-12-09 20:49:54 +0100
commit3a63dfbdd7ff53c2e083915b0dea481a6ea0aaaa (patch)
treee87938d67386bb7d0272c14e1902867eeb152676 /searx/engines/translated.py
parent42a194898baf96e15edeb9268fbec5ecd4423c09 (diff)
downloadsearxng-3a63dfbdd7ff53c2e083915b0dea481a6ea0aaaa.tar.gz
searxng-3a63dfbdd7ff53c2e083915b0dea481a6ea0aaaa.zip
display if an engine does not support https
Closes #302
Diffstat (limited to 'searx/engines/translated.py')
-rw-r--r--searx/engines/translated.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/engines/translated.py b/searx/engines/translated.py
index a50e7c830..75b8b5f42 100644
--- a/searx/engines/translated.py
+++ b/searx/engines/translated.py
@@ -15,6 +15,7 @@ categories = ['general']
url = 'https://api.mymemory.translated.net/get?q={query}&langpair={from_lang}|{to_lang}{key}'
web_url = 'https://mymemory.translated.net/en/{from_lang}/{to_lang}/{query}'
weight = 100
+https_support = True
parser_re = re.compile('.*?([a-z]+)-([a-z]+) (.{2,})$', re.I)
api_key = ''