解决办法:
import ssl
# 在请求之前加上
ssl._create_default_https_context = ssl._create_unverified_context
解决办法:
import ssl
# 在请求之前加上
ssl._create_default_https_context = ssl._create_unverified_context
转载于:https://www.cnblogs.com/shangpolu/p/7993688.html