mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Fix --throttled-rate
when using --load-info-json
This commit is contained in:
parent
5d3a0e794b
commit
d3f62c1967
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
info = self.filter_requested_info(json.loads('\n'.join(f)), self.params.get('clean_infojson', True))
|
||||||
try:
|
try:
|
||||||
self.process_ie_result(info, download=True)
|
self.process_ie_result(info, download=True)
|
||||||
except (DownloadError, EntryNotInPlaylist):
|
except (DownloadError, EntryNotInPlaylist, ThrottledDownload):
|
||||||
webpage_url = info.get('webpage_url')
|
webpage_url = info.get('webpage_url')
|
||||||
if webpage_url is not None:
|
if webpage_url is not None:
|
||||||
self.report_warning('The info failed to download, trying with "%s"' % webpage_url)
|
self.report_warning('The info failed to download, trying with "%s"' % webpage_url)
|
||||||
|
|
Loading…
Reference in a new issue