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] engine: youtube_api - ignore channels / prevent exceptions
singletail1746eecf2bd4
diff --git a/searx/engines/youtube_api.py b/searx/engines/youtube_api.pyindex 25ad2cb04..4192530b9 100644--- a/searx/engines/youtube_api.py+++ b/searx/engines/youtube_api.py@@ -56,6 +56,10 @@ def response(resp):# parse resultsfor result in search_results['items']:+ if "videoId" not in result["id"]:+ # ignore channels+ continue+videoid = result['id']['videoId']title = result['snippet']['title']