[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
1 changed files with 15 additions and 1 deletions

View File

@ -428,6 +428,20 @@ 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