[core] Handle `--load-info-json` format selection errors (#9392)

Closes #9388
Authored by: bashonly
pull/8544/merge
bashonly 2 months ago committed by GitHub
parent b136e2af34
commit 263a4b55ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -3577,6 +3577,8 @@ class YoutubeDL:
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…
Cancel
Save