[BUGFIX] Add check_formats on download retry (#623)
This commit is contained in:
parent
465a290f8b
commit
7816c2fe59
1 changed files with 4 additions and 0 deletions
|
|
@ -102,6 +102,10 @@ class YTDLP:
|
||||||
if is_downloaded and is_thumbnail_downloaded:
|
if is_downloaded and is_thumbnail_downloaded:
|
||||||
return entry_dict
|
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
|
# If the video file is downloaded but the thumbnail is not, then do not download
|
||||||
# the video again
|
# the video again
|
||||||
if is_downloaded and not is_thumbnail_downloaded:
|
if is_downloaded and not is_thumbnail_downloaded:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue