Alexandre Flament
2ea34a3c36
[enh] add offline engine for sqlite database
...
To test & demonstrate this implementation download:
https://liste.mediathekview.de/filmliste-v2.db.bz2
and unpack into searx/data/filmliste-v2.db, in your settings.yml define a sqlite
engine named "demo"::
- 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
Query to test: "!demo concert"
This is a rewrite of the implementation from commit [1]
[1] searx/searx@8e90a21
Suggested-by: @virtadpt searx/searx#2808
2021-05-27 14:27:11 +02:00
..
2021-05-05 13:12:42 +02:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-04-26 20:18:20 +02:00
2021-02-01 17:10:37 +01:00
2021-04-26 20:18:20 +02:00
2021-01-14 20:57:17 +01:00
2021-04-15 08:52:11 +02:00
2021-01-14 20:57:17 +01:00
2021-02-22 21:19:34 +01:00
2021-02-01 17:10:37 +01:00
2021-02-01 17:10:37 +01:00
2021-02-01 17:10:37 +01:00
2021-01-14 20:57:17 +01:00
2021-02-04 11:31:35 +01:00
2021-01-14 20:57:17 +01:00
2021-04-26 20:18:20 +02:00
2021-01-14 20:57:17 +01:00
2021-02-01 17:10:37 +01:00
2021-01-14 20:57:17 +01:00
2021-04-26 20:18:20 +02:00
2021-04-10 15:38:33 +02:00
2021-01-14 20:57:17 +01:00
2021-04-26 20:18:20 +02:00
2021-02-01 17:10:37 +01:00
2021-01-14 20:57:17 +01:00
2021-04-12 17:25:56 +02:00
2021-04-12 17:25:56 +02:00
2021-02-01 17:10:37 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-04-10 15:38:33 +02:00
2021-02-01 17:10:37 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-03-01 08:52:36 +01:00
2021-01-14 20:57:17 +01:00
2021-02-01 17:10:37 +01:00
2021-02-01 17:10:37 +01:00
2021-04-26 20:18:20 +02:00
2021-01-14 20:57:17 +01:00
2021-04-26 20:18:20 +02:00
2021-04-26 20:18:20 +02:00
2021-04-26 20:18:20 +02:00
2021-04-26 20:18:20 +02:00
2021-04-26 20:18:20 +02:00
2021-03-25 01:20:41 +01:00
2021-02-01 17:10:37 +01:00
2021-02-10 16:42:11 +01:00
2021-01-14 20:57:17 +01:00
2021-02-09 12:45:39 +01:00
2021-04-26 20:18:20 +02:00
2021-02-01 17:10:37 +01:00
2021-04-26 20:18:20 +02:00
2021-03-15 20:21:28 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-02-13 19:47:33 +01:00
2021-02-01 17:10:37 +01:00
2021-01-14 20:57:17 +01:00
2021-04-12 17:25:56 +02:00
2021-05-02 17:46:40 -07:00
2021-02-07 10:05:35 -03:00
2021-01-14 20:57:17 +01:00
2021-02-20 12:48:56 +00:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-04-25 14:25:08 +02:00
2021-03-27 16:58:32 +01:00
2021-02-01 17:10:37 +01:00
2021-04-12 17:25:56 +02:00
2021-04-21 16:31:29 +02:00
2021-04-29 10:40:47 +02:00
2021-04-26 20:18:20 +02:00
2021-04-12 17:25:56 +02:00
2021-04-12 17:25:56 +02:00
2021-04-26 20:18:20 +02:00
2021-05-27 14:27:11 +02:00
2021-04-10 15:38:33 +02:00
2021-02-01 17:10:37 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-01-14 20:57:17 +01:00
2021-04-12 17:25:56 +02:00
2021-04-12 17:25:56 +02:00
2021-01-14 20:57:17 +01:00
2021-04-12 17:25:56 +02:00
2021-04-12 17:25:56 +02:00
2021-01-14 20:57:17 +01:00
2021-05-23 22:26:18 +02:00
2021-04-10 15:38:33 +02:00
2021-04-26 20:18:20 +02:00
2021-02-01 17:10:37 +01:00
2021-04-12 17:25:56 +02:00
2021-02-01 17:10:37 +01:00
2021-04-22 12:09:09 +02:00