mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 07:04:38 +00:00
[ie/facebook] Improve thumbnail extraction (#9060)
Authored by: kclauhk
This commit is contained in:
parent
5b68c478fb
commit
3c4d3ee491
1 changed files with 3 additions and 0 deletions
|
@ -682,6 +682,9 @@ class FacebookIE(InfoExtractor):
|
|||
# honor precise duration in video info
|
||||
if video_info.get('duration'):
|
||||
webpage_info['duration'] = video_info['duration']
|
||||
# preserve preferred_thumbnail in video info
|
||||
if video_info.get('thumbnail'):
|
||||
webpage_info['thumbnail'] = video_info['thumbnail']
|
||||
return merge_dicts(webpage_info, video_info)
|
||||
|
||||
if not video_data:
|
||||
|
|
Loading…
Reference in a new issue