Windows上面咋报错了哩。
Exception has occurred: SSLErrorHTTPSConnectionPool(host='wx.abchina.com', port=443): Max retries exceeded with url: /instH5/respectStage.html (Caused by SSLError(SSLError(1, '[SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1000)')))
ssl.SSLError: [SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1000)
During handling of the above exception, another exception occurred:
urllib3.exceptions.SSLError: [SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1000)
The above exception was the direct cause of the following exception:
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='wx.abchina.com', port=443): Max retries exceeded with url: /instH5/respectStage.html (Caused by SSLError(SSLError(1, '[SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1000)')))
During handling of the above exception, another exception occurred:
File "D:\zhwhrq.py", line 8, in initialize_cookies
response = requests.get(url, verify=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\zhwhrq.py", line 59, in main
cookies = initialize_cookies()
^^^^^^^^^^^^^^^^^^^^
File "D:\zhwhrq.py", line 95, in
main()requests.exceptions.SSLError: HTTPSConnectionPool(host='wx.abchina.com', port=443): Max retries exceeded with url: /instH5/respectStage.html (Caused by SSLError(SSLError(1, '[SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1000)')))