From 2b3687780c4b562df637a211d5d28ef6c2e06aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20K=C3=B6llmann?= Date: Tue, 31 Aug 2021 17:41:59 +0200 Subject: [PATCH] [enh] Add Packagist search engine (JSON) Packagist's API: https://packagist.org/apidoc --- searx/settings.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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