A feature-rich command-line audio/video downloader
[ie/facebook] Improve thumbnail extraction (#9060)
kclauhk3c4d3ee491b0
diff --git a/yt_dlp/extractor/facebook.py b/yt_dlp/extractor/facebook.pyindex 84856abe1b..2fbdf1c37c 100644--- a/yt_dlp/extractor/facebook.py+++ b/yt_dlp/extractor/facebook.py@@ -682,6 +682,9 @@ class FacebookIE(InfoExtractor):# honor precise duration in video infoif 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: