on master help sign in
Add Google Scholar search engine
commit144b7be70d60fd79ab9b748980ee1bb82912839c authorDavid A Roberts <d@vidr.cc> dateThu 14 Jul 2016, 19:38 (10 years ago) parent27f4373
2 files changed+15
AUTHORS.rst+1 searx/settings.yml+14
AUTHORS.rst+1
@@ -51,3 +51,4 @@ generally made searx better:
5151- Ashutosh Das @pyprism
5252- YuLun Shih @imZack
5353- Dmitry Mikhirev @mikhirev
54+- David A Roberts `@davidar <https://github.com/davidar>`_
searx/settings.yml+14
@@ -200,6 +200,20 @@ engines:
200200 engine : google_news
201201 shortcut : gon
202202
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+
203217 - name : google play apps
204218 engine : xpath
205219 search_url : https://play.google.com/store/search?q={query}&c=apps