diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 2dcfde92de..754234adce 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -1632,7 +1632,7 @@ class YoutubeDL: 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 e4df4e59eb..a778f35c0d 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -444,7 +444,7 @@ def create_parser(): 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',