[BUGFIX] Add check_formats on download retry (#623)

This commit is contained in:
Jesse Bannon 2023-05-30 23:20:40 -07:00 committed by GitHub
parent 465a290f8b
commit 7816c2fe59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,6 +102,10 @@ class YTDLP:
if is_downloaded and is_thumbnail_downloaded:
return entry_dict
# Always add check_formats
# See https://github.com/yt-dlp/yt-dlp/issues/502
copied_ytdl_options_overrides["check_formats"] = True
# If the video file is downloaded but the thumbnail is not, then do not download
# the video again
if is_downloaded and not is_thumbnail_downloaded: