From 440b4466ff64e6589596e35dea7c076d76698dde Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Wed, 22 Jan 2025 17:29:55 -0800 Subject: [PATCH] fix: adjust max_extraction_depth default value --- yt_dlp/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/options.py b/yt_dlp/options.py index 4bd703e489..106df30657 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -1885,7 +1885,7 @@ def create_parser(): 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(