support playing videos directly

This commit is contained in:
ta 2022-08-24 16:48:31 +07:00
parent 79d06509c1
commit 040e24f9ad
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ def response(resp):
'content': result['description'], 'content': result['description'],
'publishedDate': datetime.utcfromtimestamp(result['creationTs']), 'publishedDate': datetime.utcfromtimestamp(result['creationTs']),
'thumbnail': result['images']['imageFbThumbnail']['url'], 'thumbnail': result['images']['imageFbThumbnail']['url'],
'iframe_src': result['images'].get('image460sv', {}).get('url'),
} }
) )