summaryrefslogtreecommitdiff
path: root/searx/settings.yml
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-03-01 15:02:11 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-03-01 15:16:37 +0100
commitd48e2e7b0b31e03451105cd6f8714f1531dfded8 (patch)
tree60e1a39a899555063dff71190a0dfd988eb9499b /searx/settings.yml
parente2fb50089219207f7e11bcfc049b48f2f4b9a6c8 (diff)
[enh] google scholar - python implementation of the engine
The old xpath configuration for google scholar did not work and is replaced by a python implementation. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/settings.yml')
-rw-r--r--searx/settings.yml19
1 files changed, 1 insertions, 18 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 581f19348..e45afb59b 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -535,25 +535,8 @@ engines:
# android: *test_android
- name : google scholar
- engine : xpath
- paging : True
- search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
- results_xpath : //div[contains(@class, "gs_r")]/div[@class="gs_ri"]
- url_xpath : .//h3/a/@href
- title_xpath : .//h3/a
- content_xpath : .//div[@class="gs_rs"]
- suggestion_xpath : //div[@id="gs_res_ccl_top"]//a/b
- page_size : 10
- first_page_num : 0
- categories : science
+ engine : google_scholar
shortcut : gos
- about:
- website: https://scholar.google.com/
- wikidata_id: Q494817
- official_api_documentation:
- use_official_api: false
- require_api_key: false
- results: HTML
- name : google play apps
engine : xpath