浏览代码

Semantic Scholar

David A Roberts 8 年前
父节点
当前提交
7814d4b796
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11
    0
      searx/settings.yml

+ 11
- 0
searx/settings.yml 查看文件

462
 #        - ...
462
 #        - ...
463
 #    disabled : True
463
 #    disabled : True
464
 
464
 
465
+  - name : semantic scholar
466
+    engine : xpath
467
+    paging : True
468
+    search_url : https://www.semanticscholar.org/search?q={query}&sort=relevance&page={pageno}&ae=false
469
+    results_xpath : //article
470
+    url_xpath : .//div[@class="search-result-title"]/a/@href
471
+    title_xpath : .//div[@class="search-result-title"]/a
472
+    content_xpath : .//div[@class="search-result-abstract"]
473
+    shortcut : se
474
+    categories : science
475
+
465
   - name : spotify
476
   - name : spotify
466
     engine : spotify
477
     engine : spotify
467
     shortcut : stf
478
     shortcut : stf