mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Merge pull request #103 from searxng/add-sqlite-engine2
[enh] add offline engine for sqlite database
This commit is contained in:
commit
25b5797a0c
2 changed files with 95 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue