from instapy_cli import client
username = 'username'
password = 'password'
image = 'test.jpg'
text = 'Hello World \n#Python\n#instapy_cli '
with client(username, password) as cli:
cli.upload(image, text)
Прилетает ошибка [IG] not found cookie/cookie_file >> login as default ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": {"url": "https://i.instagram.com/challenge/1407799808/CRMmDt7pdN/", "api_path": "/challenge/1407799808/CRMmDt7pdN/", "hide_webview_header": true, "lock": true, "logout": false, "native_flow": true}, "status": "fail", "error_type": "checkpoint_challenge_required"})
Я делал cli.getcookie(), но ничего не получилось.