소스 검색

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