mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-31 23:02:40 +00:00
[core] Handle --load-info-json
format selection errors (#9392)
Closes #9388 Authored by: bashonly
This commit is contained in:
parent
b136e2af34
commit
263a4b55ac
1 changed files with 2 additions and 0 deletions
|
@ -3577,6 +3577,8 @@ def download_with_info_file(self, info_filename):
|
|||
raise
|
||||
self.report_warning(f'The info failed to download: {e}; trying with URL {webpage_url}')
|
||||
self.download([webpage_url])
|
||||
except ExtractorError as e:
|
||||
self.report_error(e)
|
||||
return self._download_retcode
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue