mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[fix] brave.videos
This commit is contained in:
parent
27477f51fd
commit
ec540a967a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user