1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 04:32:51 +01:00

[downloader:ytdl] prevent exception on empty results

a7c7953107 (commitcomment-92042240)
This commit is contained in:
Mike Fährmann 2023-03-06 12:25:12 +01:00
parent da9840a39d
commit 8148c2a097
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -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: