aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorbashonly <bashonly@protonmail.com>2024-11-14 16:08:50 -0600
committerbashonly <88596187+bashonly@users.noreply.github.com>2024-11-15 22:51:55 +0000
commiteb64ae7d5def6df2aba74fb703e7f168fb299865 (patch)
treeda3affa7fd7fb3485b0c47bdec24674b204c3636 /yt_dlp/extractor/common.py
parentc014fbcddcb4c8f79d914ac5bb526758b540ea33 (diff)
[ie] Allow `ext` override for thumbnails (#11545)
Authored by: bashonly
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 01915acf2..23f6fc6c4 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -279,6 +279,7 @@ class InfoExtractor:
thumbnails: A list of dictionaries, with the following entries:
* "id" (optional, string) - Thumbnail format ID
* "url"
+ * "ext" (optional, string) - actual image extension if not given in URL
* "preference" (optional, int) - quality of the image
* "width" (optional, int)
* "height" (optional, int)