From 7de8b43eb2081853ae15b2a52cc0cae43647320b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Wed, 1 Nov 2017 13:28:04 +0100 Subject: [PATCH] add OpenAIRE engine as a json engine This is the continuation of #1048 created by @jibe-b. Closes #1048 --- searx/settings.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 54b2b2e64..18b6a5c59 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -415,6 +415,18 @@ engines: shortcut : nt disabled : True + - name : openaire + engine : json_engine + paging : True + search_url : http://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query} + results_query : response/results/result + url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$ + title_query : metadata/oaf:entity/oaf:result/title/$ + content_query : metadata/oaf:entity/oaf:result/description/$ + categories : science + shortcut : oa + timeout: 5.0 + - name : openstreetmap engine : openstreetmap shortcut : osm