[fix] google scholar engine
commit4f4df6273b1a8fb1a002650e3e6531b94ec46ec6
authorVenca24 <Vaclav.Zouzalik@seznam.cz>
dateThu 31 May 2018, 19:45 (8 years ago)
parentfc73d7a
searx/settings.yml+1−1
@@ -311,7 +311,7 @@ engines:
311311 engine : xpath
312312 paging : True
313313 search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
314− results_xpath : //div[@class="gs_r"]/div[@class="gs_ri"]
314+ results_xpath : //div[contains(@class, "gs_r")]/div[@class="gs_ri"]
315315 url_xpath : .//h3/a/@href
316316 title_xpath : .//h3/a
317317 content_xpath : .//div[@class="gs_rs"]