1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 16:45:17 +00:00

[ie] Allow ext override for thumbnails (#11545)

Authored by: bashonly
This commit is contained in:
bashonly
2024-11-14 16:08:50 -06:00
committed by bashonly
parent c014fbcddc
commit eb64ae7d5d
2 changed files with 4 additions and 1 deletions

View File

@ -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)