forked from zaclys/searxng
[fix] brave.videos
This commit is contained in:
parent
b11d3b73d6
commit
38966b1bbe
@ -338,7 +338,7 @@ def _parse_videos(json_resp):
|
|||||||
'duration': result['video']['duration'],
|
'duration': result['video']['duration'],
|
||||||
}
|
}
|
||||||
|
|
||||||
if result['thumbnail'] != "null":
|
if result['thumbnail'] is not None:
|
||||||
item['thumbnail'] = result['thumbnail']['src']
|
item['thumbnail'] = result['thumbnail']['src']
|
||||||
|
|
||||||
iframe_src = _get_iframe_src(url)
|
iframe_src = _get_iframe_src(url)
|
||||||
|
Loading…
Reference in New Issue
Block a user