1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-15 00:48:28 +00:00

adjust warning

Authored by: bashonly
This commit is contained in:
bashonly 2025-08-05 22:53:28 -05:00
parent bc1370c165
commit 801e3c877e
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -103,7 +103,7 @@ def subn(self, repl, string, *args, **kwargs):
if hasattr(urllib3.util.url, '_PERCENT_RE'): # was 'PERCENT_RE' in urllib3 < 2.0.0
urllib3.util.url._PERCENT_RE = Urllib3PercentREOverride(urllib3.util.url._PERCENT_RE)
else:
warnings.warn('Failed to patch PERCENT_RE in urllib3 (does the attribute exist?)' + bug_reports_message())
warnings.warn('Failed to patch _PERCENT_RE in urllib3 (does the attribute exist?)' + bug_reports_message())
# Requests will not automatically handle no_proxy by default