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
[mod] podcastindex: remove engine (#6140)
Bnyrof5be39e245ff
diff --git a/searx/engines/podcastindex.py b/searx/engines/podcastindex.pydeleted file mode 100644index e9a927838..000000000--- a/searx/engines/podcastindex.py+++ /dev/null@@ -1,41 +0,0 @@-# SPDX-License-Identifier: AGPL-3.0-or-later-"""Podcast Index"""--from urllib.parse import quote_plus-from datetime import datetime--about = {- 'website': 'https://podcastindex.org',- 'official_api_documentation': None, # requires an account- 'use_official_api': False,- 'require_api_key': False,- 'results': 'JSON',-}-categories = []--base_url = "https://podcastindex.org"---def request(query, params):- params['url'] = f"{base_url}/api/search/byterm?q={quote_plus(query)}"- return params---def response(resp):- results = []-- json = resp.json()-- for result in json['feeds']:- results.append(- {- 'url': result['link'],- 'title': result['title'],- 'content': result['description'],- 'thumbnail': result['image'],- 'publishedDate': datetime.fromtimestamp(result['newestItemPubdate']),- 'metadata': f"{result['author']}, {result['episodeCount']} episodes",- }- )-- return resultsdiff --git a/searx/settings.yml b/searx/settings.ymlindex ea93b919a..7a98b0594 100644--- a/searx/settings.yml+++ b/searx/settings.yml@@ -1697,10 +1697,6 @@ engines:# image proxy of https://pixiv.perennialte.ch# - https://pximg.perennialte.ch- - name: podcastindex- engine: podcastindex- shortcut: podcast-# Required dependency: psychopg2# - name: postgresql# engine: postgresql