mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-06 00:49:20 +02:00
@@ -525,7 +525,8 @@ class FacebookIE(InfoExtractor):
|
|||||||
info = {
|
info = {
|
||||||
'id': v_id,
|
'id': v_id,
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
'thumbnail': try_get(video, lambda x: x['thumbnailImage']['uri']),
|
'thumbnail': traverse_obj(
|
||||||
|
video, ('thumbnailImage', 'uri'), ('preferred_thumbnail', 'image', 'uri')),
|
||||||
'uploader_id': try_get(video, lambda x: x['owner']['id']),
|
'uploader_id': try_get(video, lambda x: x['owner']['id']),
|
||||||
'timestamp': int_or_none(video.get('publish_time')),
|
'timestamp': int_or_none(video.get('publish_time')),
|
||||||
'duration': float_or_none(video.get('playable_duration_in_ms'), 1000),
|
'duration': float_or_none(video.get('playable_duration_in_ms'), 1000),
|
||||||
|
Reference in New Issue
Block a user