summaryrefslogtreecommitdiff
path: root/searx/settings.yml
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2021-05-27 14:06:42 +0000
committerGitHub <noreply@github.com>2021-05-27 14:06:42 +0000
commit25b5797a0ce64d309d5baf295f88362502a17887 (patch)
tree364db3ae5ebeac08ac9a4f3c2c914f3102be3c2b /searx/settings.yml
parentb1da97d0922020dabcdc971d16e3e7a95be58c1b (diff)
parent2ea34a3c36d444fa5afac381a417d66bc96849e5 (diff)
Merge pull request #103 from searxng/add-sqlite-engine2
[enh] add offline engine for sqlite database
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 8dbb02d53..fd9c5588a 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -1003,6 +1003,26 @@ engines:
timeout : 3.0
disabled : True
+ # For this demo of the sqlite engine download:
+ # https://liste.mediathekview.de/filmliste-v2.db.bz2
+ # and unpack into searx/data/filmliste-v2.db
+ # Query to test: "!demo concert"
+ #
+ # - name : demo
+ # engine : sqlite
+ # shortcut: demo
+ # categories: general
+ # result_template: default.html
+ # database : searx/data/filmliste-v2.db
+ # query_str : >-
+ # SELECT title || ' (' || time(duration, 'unixepoch') || ')' AS title,
+ # COALESCE( NULLIF(url_video_hd,''), NULLIF(url_video_sd,''), url_video) AS url,
+ # description AS content
+ # FROM film
+ # WHERE title LIKE :wildcard OR description LIKE :wildcard
+ # ORDER BY duration DESC
+ # disabled : False
+
- name : torrentz
engine : torrentz
shortcut : tor