瀏覽代碼

Semantic Scholar

David A Roberts 8 年之前
父節點
當前提交
7814d4b796
共有 1 個檔案被更改,包括 11 行新增0 行删除
  1. 11
    0
      searx/settings.yml

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

@@ -462,6 +462,17 @@ engines:
462 462
 #        - ...
463 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 476
   - name : spotify
466 477
     engine : spotify
467 478
     shortcut : stf