diff --git a/cmcc/scrip_cmcc_mark.py b/cmcc/scrip_cmcc_mark.py index 7d01dd3..b499b1a 100644 --- a/cmcc/scrip_cmcc_mark.py +++ b/cmcc/scrip_cmcc_mark.py @@ -51,6 +51,9 @@ from datetime import datetime, timedelta, timezone import requests import urllib3 +# 静音 InsecureRequestWarning([A] 专用 legacy-SSL 池本就 CERT_NONE,刷屏无信息量) +urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) + # ---------------------------------------------------------------- SSL 兼容 # 中国移动 client.app.coc.10086.cn 用 legacy TLS renegotiation(OpenSSL 3.x 默认拒: # UNSAFE_LEGACY_RENEGOTIATION_DISABLED,青龙容器 Python3.11 实测命中)。