1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-02-19 23:15:54 +00:00

Add option --wait-retries

This commit is contained in:
Paul Storkman
2024-10-29 14:25:52 +01:00
parent f101e5d34c
commit c6cc3a8ab2
4 changed files with 19 additions and 0 deletions

View File

@@ -442,6 +442,10 @@ def create_parser():
'--no-wait-for-video',
dest='wait_for_video', action='store_const', const=None,
help='Do not wait for scheduled streams (default)')
general.add_option(
'--wait-retries',
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',
action='store_true', dest='mark_watched', default=False,