[BUGFIX] Fix rare case when yt-dlp returns None and is downloaded (#894)
This commit is contained in:
parent
b9d05c5b8f
commit
00e4cd8541
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue