1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-24 02:15:12 +00:00

Release 2021.07.21

and fix some typos
Closes #538
This commit is contained in:
pukkandan
2021-07-21 23:32:21 +05:30
parent 9c0d7f4951
commit 245524e6a3
7 changed files with 79 additions and 6 deletions

View File

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

View File

@@ -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',