Open Red1Monster opened 5 years ago
I have the same issue! Any idea on how to fix this?
I have the same issue!
this bug is an issue with instagram_private_api library: https://github.com/ping/instagram_private_api/issues/157
The Fix is to add the following at the top of the code you are running:
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
not working again
I used the upload-a-photo.py exmaple (but with my infos) but i get this error mesage and i have no idea what it means or how to fix it.
Here's the error message :
[IG] not found cookie/cookie_file >> login as default ClientError URLError <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)> (Code: 0, Response: )
And here's my code (with my info hashtagged) :
from instapy_cli import client
username = '#########' password = '########' image = 'downloads/what.png' text = 'My profile pic' + '\r\n' + 'You can use hashtags! #hash #tag #now'
with client(username, password) as cli: cli.upload(image, text)
I'm with python 3.7 on macOS with the lastest version on instapy (downloaded this morning with pip install)