我是 python 的新手,非常感谢在这个问题上的帮助。
我正在使用requests
从kodi
addon
.
我试过穿上但没有verify=False
用get
s = requests.Session()
file = s.get(api_base + '/api/v2/mounts/' + mount['id'] + '/files/download', params = {'path': foldername + '/' + file['name']}, verify=False).json()['link']
我出现以下错误:
SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures.