From cac8e7c6b88c49f4e7446c286f552fbbf902d4b6 Mon Sep 17 00:00:00 2001 From: Jonas Zohren <15788906+jfowl@users.noreply.github.com> Date: Thu, 25 Jul 2019 06:54:26 +0000 Subject: [PATCH] [enh] add npm search engine (#1510) --- searx/settings.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/searx/settings.yml b/searx/settings.yml index c2a77630a..56d9bccd0 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -428,11 +428,25 @@ engines: engine : mixcloud shortcut : mc + - name : npm + engine : json_engine + paging : True + search_url : https://api.npms.io/v2/search?q={query}&size=25&from={pageno} + results_query : results + url_query : package/links/npm + title_query : package/name + content_query : package/description + page_size : 25 + categories : it + disabled: True + timeout: 5.0 + shortcut : npm + - name : nyaa engine : nyaa shortcut : nt disabled : True - + - name : acgsou engine : acgsou shortcut : acg