1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-04 20:30:11 +01:00

[fix] brave.videos

This commit is contained in:
jazzzooo 2023-09-15 12:33:23 -07:00 committed by Markus Heiser
parent 27477f51fd
commit ec540a967a

View File

@ -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)