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:
parent
da9840a39d
commit
8148c2a097
@ -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…
Reference in New Issue
Block a user