From d48e2e7b0b31e03451105cd6f8714f1531dfded8 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 1 Mar 2021 15:02:11 +0100 Subject: [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 --- searx/settings.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'searx/settings.yml') 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 -- cgit v1.2.3