summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-07-16 09:47:52 +0200
committerGitHub <noreply@github.com>2016-07-16 09:47:52 +0200
commit9393887eac297fd0007382f62e818a90b283d63b (patch)
tree1b32def3089e2ba0cbbb9f5a3a06d64bf4e0dd60 /searx
parent27f4373124bcd80f975b85079eac871b97b56b15 (diff)
parent144b7be70d60fd79ab9b748980ee1bb82912839c (diff)
Merge pull request #624 from davidar/scholar
Add Google Scholar search engine
Diffstat (limited to 'searx')
-rw-r--r--searx/settings.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index d64b73a1..e578dacc 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -200,6 +200,20 @@ engines:
engine : google_news
shortcut : gon
+ - name : google scholar
+ 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"]
+ url_xpath : .//h3/a/@href
+ title_xpath : .//h3/a
+ content_xpath : .//div[@class="gs_rs"]
+ suggestion_xpath : //div[@id="gs_qsuggest"]/ul/li
+ page_size : 10
+ first_page_num : 0
+ categories : science
+ shortcut : gos
+
- name : google play apps
engine : xpath
search_url : https://play.google.com/store/search?q={query}&c=apps