私は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.