mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
fix Semantic Scholar engine
This commit is contained in:
parent
28286cf3f2
commit
f596f5767b
2 changed files with 46 additions and 8 deletions
|
|
@ -918,13 +918,8 @@ engines:
|
|||
# disabled : True
|
||||
|
||||
- name : semantic scholar
|
||||
engine : xpath
|
||||
paging : True
|
||||
search_url : https://www.semanticscholar.org/search?q={query}&sort=relevance&page={pageno}&ae=false
|
||||
results_xpath : //article
|
||||
url_xpath : .//div[@class="search-result-title"]/a/@href
|
||||
title_xpath : .//div[@class="search-result-title"]/a
|
||||
content_xpath : .//div[@class="search-result-abstract"]
|
||||
engine : semantic_scholar
|
||||
disabled : True
|
||||
shortcut : se
|
||||
categories : science
|
||||
about:
|
||||
|
|
@ -933,7 +928,7 @@ engines:
|
|||
official_api_documentation: https://api.semanticscholar.org/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
results: JSON
|
||||
|
||||
# Spotify needs API credentials
|
||||
# - name : spotify
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue