Skip to content

Commit

Permalink
[fix] brave.videos
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzzooo authored and return42 committed Sep 15, 2023
1 parent 27477f5 commit ec540a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searx/engines/brave.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ec540a9

Please sign in to comment.