From 38966b1bbe9645c0e6bb5a4b80918b11868fa7a9 Mon Sep 17 00:00:00 2001 From: jazzzooo <38244149+jazzzooo@users.noreply.github.com> Date: Fri, 15 Sep 2023 12:33:23 -0700 Subject: [PATCH] [fix] brave.videos --- searx/engines/brave.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)