mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-15 19:16:46 +01:00
[youtube] extractor-arg to show live dash formats
If replay is enabled, these formats can be used to download the last 4 hours
This commit is contained in:
parent
9cc1a3130a
commit
57015a4a3f
3 changed files with 6 additions and 3 deletions
|
|
@ -1367,7 +1367,7 @@ def parseOpts(overrideArguments=None):
|
|||
'--no-hls-split-discontinuity',
|
||||
dest='hls_split_discontinuity', action='store_false',
|
||||
help='Do not split HLS playlists to different formats at discontinuities such as ad breaks (default)')
|
||||
_extractor_arg_parser = lambda key, vals='': (key.strip().lower(), [val.strip() for val in vals.split(',')])
|
||||
_extractor_arg_parser = lambda key, vals='': (key.strip().lower().replace('-', '_'), [val.strip() for val in vals.split(',')])
|
||||
extractor.add_option(
|
||||
'--extractor-args',
|
||||
metavar='KEY:ARGS', dest='extractor_args', default={}, type='str',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue