mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 14:49:15 +00:00
Add initial documentation
This commit is contained in:
parent
fbae888c65
commit
3faa1e33ed
|
@ -415,7 +415,12 @@ 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)')
|
||||
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 previous time (only hours and minutes), ',
|
||||
'e.g. --download-sections "*-24hours-0" (download last 24 hours),',
|
||||
'e.g. --download-sections "*-1hour-30minutes" (download last hour and continue until next 30 minutes),',
|
||||
'e.g. --download-sections "*-2hours--1hour" (download one hour, starting from 2 hours ago)'))
|
||||
general.add_option(
|
||||
'--no-live-from-start',
|
||||
action='store_false', dest='live_from_start',
|
||||
|
|
Loading…
Reference in a new issue