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] presearch videos: item description and duration are located in metadata field
Bnyro3668c7012e24
diff --git a/searx/engines/presearch.py b/searx/engines/presearch.pyindex 1940cc7ad..ed68e1507 100644--- a/searx/engines/presearch.py+++ b/searx/engines/presearch.py@@ -264,14 +264,13 @@ def response(resp):# a video and not to a video stream --> SearXNG can't use the video template.for item in json_resp.get('videos', []):- metadata = [x for x in [item.get('description'), item.get('duration')] if x]results.append({'title': html_to_text(item['title']),'url': item.get('link'),- 'content': '',- 'metadata': ' / '.join(metadata),+ 'content': item.get('description', ''),'thumbnail': item.get('image'),+ 'length': item.get('duration'),})