mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 10:31:29 +00:00
Fix quotes
This commit is contained in:
parent
c6cc3a8ab2
commit
87ad4d4774
|
@ -1632,7 +1632,7 @@ def wrapper(self, *args, **kwargs):
|
||||||
if max_wait_retries > 0:
|
if max_wait_retries > 0:
|
||||||
self.report_error(f'Giving up after {wait_retries - 1} {"retries" if wait_retries > 2 else "retry"} while waiting.')
|
self.report_error(f'Giving up after {wait_retries - 1} {"retries" if wait_retries > 2 else "retry"} while waiting.')
|
||||||
else:
|
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')
|
raise UserNotLive('Maximum number of retries exceeded while waiting for stream')
|
||||||
if e.expected:
|
if e.expected:
|
||||||
self.to_screen(f'{e}; Re-extracting data')
|
self.to_screen(f'{e}; Re-extracting data')
|
||||||
|
|
|
@ -444,7 +444,7 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs):
|
||||||
help='Do not wait for scheduled streams (default)')
|
help='Do not wait for scheduled streams (default)')
|
||||||
general.add_option(
|
general.add_option(
|
||||||
'--wait-retries',
|
'--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')
|
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(
|
general.add_option(
|
||||||
'--mark-watched',
|
'--mark-watched',
|
||||||
|
|
Loading…
Reference in a new issue