commit: 4f4df6273b1a8fb1a002650e3e6531b94ec46ec6
parent fc73d7abdc1bbee1147b35b68824481c9b0c8841
Author: Venca24 <Vaclav.Zouzalik@seznam.cz>
Date: Thu, 31 May 2018 19:45:00 +0200
[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"]