1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-12 13:28:30 +00:00

Fix --id deprecation warning (#14190)

Authored by: seproDev
This commit is contained in:
sepro 2025-08-29 22:06:53 +02:00 committed by GitHub
parent 1e28f6bf74
commit 76bb46002c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -979,6 +979,7 @@ def parse_options(argv=None):
'geo_bypass': opts.geo_bypass, 'geo_bypass': opts.geo_bypass,
'geo_bypass_country': opts.geo_bypass_country, 'geo_bypass_country': opts.geo_bypass_country,
'geo_bypass_ip_block': opts.geo_bypass_ip_block, 'geo_bypass_ip_block': opts.geo_bypass_ip_block,
'useid': opts.useid or None,
'warn_when_outdated': opts.update_self is None, 'warn_when_outdated': opts.update_self is None,
'_warnings': warnings, '_warnings': warnings,
'_deprecation_warnings': deprecation_warnings, '_deprecation_warnings': deprecation_warnings,