From d3f62c19676bac32d5fcd10791820b9e3d615804 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 25 Jun 2021 22:07:04 +0530 Subject: [PATCH] Fix `--throttled-rate` when using `--load-info-json` --- yt_dlp/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index c67ca8b30..41cf4265d 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -2803,7 +2803,7 @@ def download_with_info_file(self, info_filename): info = self.filter_requested_info(json.loads('\n'.join(f)), self.params.get('clean_infojson', True)) try: self.process_ie_result(info, download=True) - except (DownloadError, EntryNotInPlaylist): + except (DownloadError, EntryNotInPlaylist, ThrottledDownload): webpage_url = info.get('webpage_url') if webpage_url is not None: self.report_warning('The info failed to download, trying with "%s"' % webpage_url)