Browse Source

[feat] engine: implementation of anaconda

Bnyro 1 year ago
parent
commit
c76c999a1e
1 changed files with 14 additions and 0 deletions
  1. 14 0
      searx/settings.yml

+ 14 - 0
searx/settings.yml

@@ -328,6 +328,20 @@ engines:
     enable_http: true
     shortcut: ah
 
+  - name: anaconda
+    engine: xpath
+    paging: true
+    first_page_num: 0
+    search_url: https://anaconda.org/search?q={query}&page={pageno}
+    results_xpath: //tbody/tr
+    url_xpath: ./td/h5/a[last()]/@href
+    title_xpath: ./td/h5
+    content_xpath: ./td[h5]/text()
+    categories: it
+    timeout: 6.0
+    shortcut: conda
+    disabled: true
+
   - name: arch linux wiki
     engine: archlinux
     shortcut: al