[downloader:ytdl] prevent exception on empty results

a7c7953107 (commitcomment-92042240)
pull/3740/head
Mike Fährmann 2 years ago
parent da9840a39d
commit 8148c2a097
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -64,6 +64,8 @@ class YoutubeDLDownloader(DownloaderBase):
try:
info_dict = ytdl_instance.extract_info(url[5:], download=False)
except Exception:
pass
if not info_dict:
return False
if "entries" in info_dict:

Loading…
Cancel
Save