diff options
author | Kevin Köllmann <mail@kevinkoellmann.de> | 2021-08-31 17:41:59 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-08-31 17:59:34 +0200 |
commit | 2b3687780c4b562df637a211d5d28ef6c2e06aa8 (patch) | |
tree | 9b9eead7bfc36c0066d2cbbc87b19fccaa7ac087 /searx | |
parent | 1e942435be5f8dbf30be7296466ca674b69b7c70 (diff) | |
download | searxng-2b3687780c4b562df637a211d5d28ef6c2e06aa8.tar.gz searxng-2b3687780c4b562df637a211d5d28ef6c2e06aa8.zip |
[enh] Add Packagist search engine (JSON)
Packagist's API: https://packagist.org/apidoc
Diffstat (limited to 'searx')
-rw-r--r-- | searx/settings.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 1e5216a43..aec925087 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -938,6 +938,26 @@ engines: require_api_key: false results: HTML + - name: packagist + engine: json_engine + paging: true + search_url: https://packagist.org/search.json?q={query}&page={pageno} + results_query: results + url_query: url + title_query: name + content_query: description + categories: it + disabled: true + timeout: 5.0 + shortcut: pack + about: + website: https://packagist.org + wikidata_id: Q108311377 + official_api_documentation: https://packagist.org/apidoc + use_official_api: true + require_api_key: false + results: JSON + - name: pdbe engine: pdbe shortcut: pdb |