diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 2dcfde92d..754234adc 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -1632,7 +1632,7 @@ def wrapper(self, *args, **kwargs): if max_wait_retries > 0: self.report_error(f'Giving up after {wait_retries - 1} {"retries" if wait_retries > 2 else "retry"} while waiting.') else: - self.report_error(f'Video is still unavailable after waiting.') + self.report_error('Video is still unavailable after waiting.') raise UserNotLive('Maximum number of retries exceeded while waiting for stream') if e.expected: self.to_screen(f'{e}; Re-extracting data') diff --git a/yt_dlp/options.py b/yt_dlp/options.py index e4df4e59e..a778f35c0 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -444,7 +444,7 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs): help='Do not wait for scheduled streams (default)') general.add_option( '--wait-retries', - dest='wait_retries', metavar='RETRIES', default="infinite", + dest='wait_retries', metavar='RETRIES', default='infinite', help='Number of retries while waiting for scheduled streams to become available (default is %default). --wait-for-video must also be set') general.add_option( '--mark-watched',