[BUGFIX] Fix rare case when yt-dlp returns None and is downloaded

This commit is contained in:
Jesse Bannon 2024-01-10 09:11:24 -08:00
parent 305d084a6d
commit 2b365cd585

View file

@ -102,7 +102,7 @@ class YTDLP:
)
if is_downloaded and is_thumbnail_downloaded:
return entry_dict
return entry_dict or {} # in-case yt-dlp returns None
# Always add check_formats
# See https://github.com/yt-dlp/yt-dlp/issues/502