commit: 8dec30123e16e66b5a30dcee5b3266f75ffadd2f
parent: 4c0ffa308eaf111411c0a53ab52a8663ddbbd43f
Author: Adam Tauber <asciimoo@gmail.com>
Date: Wed, 6 Jun 2018 12:03:08 +0200
Merge pull request #1312 from Venca24/fix_google_scholar
[fix] google scholar engine
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/settings.yml b/searx/settings.yml
@@ -311,7 +311,7 @@ engines:
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[@class="gs_r"]/div[@class="gs_ri"]
+ 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"]