Merge branch 'main' into develop

This commit is contained in:
Totonyus 2022-05-15 10:43:37 +02:00
commit e23939b9cc
1 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ class DownloadManager:
with ydl.YoutubeDL(ydl_opts.get_all()) as dl:
simulation_result = dl.download([self.url]) == 0
preset.append('__check_exception_message', None)
except ydl.utils.DownloadError as error:
except Exception as error:
simulation_result = False
preset.append('__check_exception_message', str(error))
@ -291,7 +291,7 @@ class DownloadManager:
with ydl.YoutubeDL(ydl_opts.get_all()) as dl:
dl.download([self.url])
ydl_opts.append('__download_exception_message', None)
except ydl.utils.DownloadError as error:
except Exception as error:
ydl_opts.append('__download_exception_message', str(error))
filename_info = None