From 9a04113dfbb69b904e4e2bea736da293505786b8 Mon Sep 17 00:00:00 2001 From: bashonly Date: Fri, 28 Jul 2023 17:21:45 -0500 Subject: [PATCH] [ie/Reddit] Fix thumbnail extraction Authored by: bashonly --- yt_dlp/extractor/reddit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/extractor/reddit.py b/yt_dlp/extractor/reddit.py index 13615e82f..813e62874 100644 --- a/yt_dlp/extractor/reddit.py +++ b/yt_dlp/extractor/reddit.py @@ -240,6 +240,7 @@ class RedditIE(InfoExtractor): 'url': unescapeHTML(thumbnail_url), 'width': int_or_none(src.get('width')), 'height': int_or_none(src.get('height')), + 'http_headers': {'Accept': '*/*'}, }) for image in try_get(data, lambda x: x['preview']['images']) or []: