mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-30 17:14:03 +01:00
fix: adjust max_extraction_depth default value
This commit is contained in:
parent
09c5248d7f
commit
440b4466ff
|
@ -1885,7 +1885,7 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs):
|
|||
help='Number of retries for known extractor errors (default is %default), or "infinite"')
|
||||
extractor.add_option(
|
||||
'--max-extraction-depth',
|
||||
dest='max_extraction_depth', default=-1,
|
||||
dest='max_extraction_depth', default='inf',
|
||||
help='Maximum depth when recursing into non-video url chains (default is unlimited)',
|
||||
)
|
||||
extractor.add_option(
|
||||
|
|
Loading…
Reference in New Issue
Block a user