1020: InsecureRequestWarning: Unverified HTTPS request is being made to host ‘api.ai.qq.com’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
解决办法:
import urllib3
urllib3.disable_warnings()
或者在请求代码前添加
requests.packages.urllib3.disable_warnings()