Skip to content

A feature-rich command-line audio/video downloader

Fix `--id` deprecation warning (#14190)

sepro76bb46002c9a
diff --git a/yt_dlp/__init__.py b/yt_dlp/__init__.py
index 3277cbfa1a..25f8d93f8b 100644
--- a/yt_dlp/__init__.py
+++ b/yt_dlp/__init__.py
@@ -979,6 +979,7 @@ def parse_options(argv=None):
'geo_bypass': opts.geo_bypass,
'geo_bypass_country': opts.geo_bypass_country,
'geo_bypass_ip_block': opts.geo_bypass_ip_block,
+ 'useid': opts.useid or None,
'warn_when_outdated': opts.update_self is None,
'_warnings': warnings,
'_deprecation_warnings': deprecation_warnings,