mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-24 15:50:10 +00:00
Option --wait-for-video
to wait for scheduled streams
This commit is contained in:
@@ -258,6 +258,16 @@ def parseOpts(overrideArguments=None):
|
||||
'--no-flat-playlist',
|
||||
action='store_false', dest='extract_flat',
|
||||
help='Extract the videos of a playlist')
|
||||
general.add_option(
|
||||
'--wait-for-video',
|
||||
dest='wait_for_video', metavar='MIN[-MAX]', default=None,
|
||||
help=(
|
||||
'Wait for scheduled streams to become available. '
|
||||
'Pass the minimum number of seconds (or range) to wait between retries'))
|
||||
general.add_option(
|
||||
'--no-wait-for-video',
|
||||
dest='wait_for_video', action='store_const', const=None,
|
||||
help='Do not wait for scheduled streams (default)')
|
||||
general.add_option(
|
||||
'--mark-watched',
|
||||
action='store_true', dest='mark_watched', default=False,
|
||||
|
Reference in New Issue
Block a user