summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2017-11-01 13:28:04 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2017-11-01 14:22:22 +0100
commit7de8b43eb2081853ae15b2a52cc0cae43647320b (patch)
treecda4892bcd5e7d4d19b044694c18414f224d4da2
parent9c2b7a82f0c515fd1df88ed80349eda7f49e0825 (diff)
downloadsearxng-7de8b43eb2081853ae15b2a52cc0cae43647320b.tar.gz
searxng-7de8b43eb2081853ae15b2a52cc0cae43647320b.zip
add OpenAIRE engine as a json engine
This is the continuation of #1048 created by @jibe-b. Closes #1048
-rw-r--r--searx/settings.yml12
1 files changed, 12 insertions, 0 deletions
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