Browse Source

[enh] Add alexandria.org engine

engine: json_engine
official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
Allen 3 years ago
parent
commit
6ef24ffd94
1 changed files with 19 additions and 0 deletions
  1. 19 0
      searx/settings.yml

+ 19 - 0
searx/settings.yml

@@ -1377,6 +1377,25 @@ engines:
     about:
     about:
       website: https://wiby.me/
       website: https://wiby.me/
 
 
+  - name: alexandria
+    engine: json_engine
+    shortcut: alx
+    categories: general
+    paging: true
+    search_url: https://api.alexandria.org/?a=1&q={query}&p={pageno}
+    results_query: results
+    title_query: title
+    url_query: url
+    content_query: snippet
+    timeout: 1.5
+    disabled: true
+    about:
+      website: https://alexandria.org/
+      official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
+      use_official_api: true
+      require_api_key: false
+      results: JSON
+
   - name: wikibooks
   - name: wikibooks
     engine: mediawiki
     engine: mediawiki
     shortcut: wb
     shortcut: wb