1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[enh] add npm search engine (#1510)

This commit is contained in:
Jonas Zohren 2019-07-25 06:54:26 +00:00 committed by Alexandre Flament
parent eb182df132
commit cac8e7c6b8

View File

@ -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