我正在尝试使用 insta py 登录 instagram 以便发布。但我收到一条错误消息:
Mackbook:instapybot kitchensink$ python3 main.py
[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:1108)> (Code: 0, Response: )
我用来登录的代码如下:
from instapy_cli import client
username = "yyyyy"
password= "xxxxxx"
image = "1.jpg"
text = "tester"
with client(username,password) as cli:
cli.upload(image, text)
根据我的研究,运行 instapy-cli 时似乎应该自动接受 cookie。