aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/YoutubeDL.py
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2024-03-09 17:10:10 -0600
committerGitHub <noreply@github.com>2024-03-09 23:10:10 +0000
commit263a4b55ac17a796e8991ca8d2d86a3c349f8a60 (patch)
treea013f1d791cede6b4ba333d32ffda8def44c548e /yt_dlp/YoutubeDL.py
parentb136e2af341f7a88028aea4c5cd50efe2fa9b182 (diff)
[core] Handle `--load-info-json` format selection errors (#9392)
Closes #9388 Authored by: bashonly
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r--yt_dlp/YoutubeDL.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py
index 52a709392..2a0fabfd7 100644
--- a/yt_dlp/YoutubeDL.py
+++ b/yt_dlp/YoutubeDL.py
@@ -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