Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] brave.videos

jazzzoooec540a967a66
diff --git a/searx/engines/brave.py b/searx/engines/brave.py
index adac37d8d..7770a2c90 100644
--- a/searx/engines/brave.py
+++ b/searx/engines/brave.py
@@ -338,7 +338,7 @@ def _parse_videos(json_resp):
'duration': result['video']['duration'],
}
- if result['thumbnail'] != "null":
+ if result['thumbnail'] is not None:
item['thumbnail'] = result['thumbnail']['src']
iframe_src = _get_iframe_src(url)