Update yt_dlp/options.py

This commit is contained in:
bashonly 2023-07-22 17:59:48 +00:00 committed by GitHub
parent 622c555356
commit 1416cee726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -416,13 +416,13 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs):
general.add_option(
'--live-from-start',
action='store_true', dest='live_from_start',
help=('Download livestreams from the start. Currently only supported for YouTube (Experimental).',
'Time ranges can be specified using --download-sections to download only a part of the stream.',
'Negative values are allowed for specifying a relative previous time, using the # syntax',
'e.g. --download-sections "#-24hours - 0" (download last 24 hours),',
'e.g. --download-sections "#-1h - 30m" (download from 1 hour ago until the next 30 minutes),',
'e.g. --download-sections "#-3days - -2days" (download from 3 days ago until 2 days ago).',
'It is also possible to specify an exact unix timestamp range, using the * syntax',
help=('Download livestreams from the start. Currently only supported for YouTube (Experimental). '
'Time ranges can be specified using --download-sections to download only a part of the stream. '
'Negative values are allowed for specifying a relative previous time, using the # syntax '
'e.g. --download-sections "#-24hours - 0" (download last 24 hours), '
'e.g. --download-sections "#-1h - 30m" (download from 1 hour ago until the next 30 minutes), '
'e.g. --download-sections "#-3days - -2days" (download from 3 days ago until 2 days ago). '
'It is also possible to specify an exact unix timestamp range, using the * syntax, '
'e.g. --download-sections "*1672531200 - 1672549200" (download between those two timestamps)'))
general.add_option(
'--no-live-from-start',