mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-11-24 02:15:12 +00:00
@@ -255,7 +255,7 @@ class YoutubeDL(object):
|
||||
writedesktoplink: Write a Linux internet shortcut file (.desktop)
|
||||
writesubtitles: Write the video subtitles to a file
|
||||
writeautomaticsub: Write the automatically generated subtitles to a file
|
||||
allsubtitles: Deprecated - Use subtitlelangs = ['all']
|
||||
allsubtitles: Deprecated - Use subtitleslangs = ['all']
|
||||
Downloads all the subtitles of the video
|
||||
(requires writesubtitles or writeautomaticsub)
|
||||
listsubtitles: Lists all available subtitles for the video
|
||||
|
||||
@@ -2769,6 +2769,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
# See: https://github.com/ytdl-org/youtube-dl/issues/29049, https://github.com/yt-dlp/yt-dlp/issues/340
|
||||
# List of possible thumbnails - Ref: <https://stackoverflow.com/a/20542029>
|
||||
hq_thumbnail_names = ['maxresdefault', 'hq720', 'sddefault', 'sd1', 'sd2', 'sd3']
|
||||
# TODO: Test them also? - For some videos, even these don't exist
|
||||
guaranteed_thumbnail_names = [
|
||||
'hqdefault', 'hq1', 'hq2', 'hq3', '0',
|
||||
'mqdefault', 'mq1', 'mq2', 'mq3',
|
||||
|
||||
Reference in New Issue
Block a user