summaryrefslogtreecommitdiff
path: root/searx/settings.yml
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-05-29 08:34:19 +0200
committerGitHub <noreply@github.com>2021-05-29 08:34:19 +0200
commite239369f1ff74fb3c335ca2c45affe60f2d9423f (patch)
treeabe28bdb5ba5ff0d61fd137e0bf8868c2eee5f0e /searx/settings.yml
parentc22c7cf35bd2faf733f96602b6b695761a0bb010 (diff)
parente7a4d0961b7e48ee5c3a770cb495a0bb943464ae (diff)
downloadsearxng-e239369f1ff74fb3c335ca2c45affe60f2d9423f.tar.gz
searxng-e239369f1ff74fb3c335ca2c45affe60f2d9423f.zip
Merge pull request #109 from return42/sql-engines
Merge MySQL and PostgreSQL from searx
Diffstat (limited to 'searx/settings.yml')
-rw-r--r--searx/settings.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 9cbc8d834..c3d35ee2e 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -871,6 +871,16 @@ engines:
url: https://thepiratebay.org/
timeout : 3.0
+# Required dependency: psychopg2
+# - name : postgresql
+# engine : postgresql
+# database : postgres
+# username : postgres
+# password : postgres
+# limit : 10
+# query_str : 'SELECT * from my_table WHERE my_column = %(query)s'
+# shortcut : psql
+
- name : pubmed
engine : pubmed
shortcut : pub
@@ -1252,6 +1262,16 @@ engines:
# See : http://mymemory.translated.net/doc/usagelimits.php
# api_key : ''
+# Required dependency: mysql-connector-python
+# - name : mysql
+# engine : mysql_server
+# database : mydatabase
+# username : user
+# password : pass
+# limit : 10
+# query_str : 'SELECT * from mytable WHERE fieldname=%(query)s'
+# shortcut : mysql
+
- name : 1337x
engine : 1337x
shortcut : 1337x