on master help sign in
Merge pull request #624 from davidar/scholar
9393887Adam Tauber
AUTHORS.rst+1
@@ -51,3 +51,4 @@ generally made searx better:
51- Ashutosh Das @pyprism
51- Ashutosh Das @pyprism
52- YuLun Shih @imZack
52- YuLun Shih @imZack
53- Dmitry Mikhirev @mikhirev
53- Dmitry Mikhirev @mikhirev
54+- David A Roberts `@davidar <https://github.com/davidar>`_
searx/settings.yml+14
@@ -200,6 +200,20 @@ engines:
200 engine : google_news
200 engine : google_news
201 shortcut : gon
201 shortcut : gon
202
202
203+ - name : google scholar
204+ engine : xpath
205+ paging : True
206+ search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1'
207+ results_xpath : //div[@class="gs_r"]/div[@class="gs_ri"]
208+ url_xpath : .//h3/a/@href
209+ title_xpath : .//h3/a
210+ content_xpath : .//div[@class="gs_rs"]
211+ suggestion_xpath : //div[@id="gs_qsuggest"]/ul/li
212+ page_size : 10
213+ first_page_num : 0
214+ categories : science
215+ shortcut : gos
216+
203 - name : google play apps
217 - name : google play apps
204 engine : xpath
218 engine : xpath
205 search_url : https://play.google.com/store/search?q={query}&c=apps
219 search_url : https://play.google.com/store/search?q={query}&c=apps