fix: adjust max_extraction_depth default value

This commit is contained in:
Adam Miller 2025-01-22 17:29:55 -08:00
parent 09c5248d7f
commit 440b4466ff

View File

@ -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(