A feature-rich command-line audio/video downloader
[facebook] fallback to twitter:image meta for thumbnail extraction(closes #21224)
Remita Amine82f68e4a0113
diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.pyindex 789dd79d54..a3dcdca3e2 100644--- a/youtube_dl/extractor/facebook.py+++ b/youtube_dl/extractor/facebook.py@@ -428,7 +428,7 @@ class FacebookIE(InfoExtractor):timestamp = int_or_none(self._search_regex(r'<abbr[^>]+data-utime=["\'](\d+)', webpage,'timestamp', default=None))- thumbnail = self._og_search_thumbnail(webpage)+ thumbnail = self._html_search_meta(['og:image', 'twitter:image'], webpage)view_count = parse_count(self._search_regex(r'\bviewCount\s*:\s*["\']([\d,.]+)', webpage, 'view count',