SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] pinterest: engine broken due to API changes (#4816)
Bnyro502017b9017d
diff --git a/searx/engines/pinterest.py b/searx/engines/pinterest.pyindex 841b98ba0..924926677 100644--- a/searx/engines/pinterest.py+++ b/searx/engines/pinterest.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Pinterest (images)-"""+"""Pinterest (images)"""from json import dumps@@ -28,6 +27,11 @@ def request(query, params):'context': {},}params['url'] = f"{base_url}/resource/BaseSearchResource/get/?data={dumps(args)}"+ params['headers'] = {+ 'X-Pinterest-AppState': 'active',+ 'X-Pinterest-Source-Url': '/ideas/',+ 'X-Pinterest-PWS-Handler': 'www/ideas.js',+ }return params