0

我正在尝试使用 instapy,但我不断收到此错误

INFO [2021-08-02 19:24:14] []  -- Connection Checklist [1/2] (Internet Connection Status)
INFO [2021-08-02 19:24:16] []  - Internet Connection Status: ok
INFO [2021-08-02 19:24:16] []  -- Connection Checklist [2/2] (Instagram Server Status)
INFO [2021-08-02 19:24:24] []  - Instagram WebSite Status: Currently Up 
INFO [2021-08-02 19:24:24] []  - Instagram Response Time: 108.423 ms 
INFO [2021-08-02 19:24:24] []  - Instagram Reponse Code: 200
INFO [2021-08-02 19:24:24] []  - Instagram Server Status: ok
Cookie file not found, creating cookie...
Login A/B test detected! Trying another string...

............................................................................................................................
CRITICAL [2021-08-02 19:24:43] []  Unable to login to Instagram! You will find more information in the logs above.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

我用 pip 和 pip3 安装它,它根本不起作用当 instagram 要求接受 cookie 时它停止了

4

1 回答 1

0

xpath_compile.py

159 号线"login_elem_no_such_exception": "//a[text()='Log``` In']",

它需要看起来像这样

159 号线"login_elem_no_such_exception": "//button[text()='Log In']",

你可以找到文件:

  • 在 Linux 上:/usr/local/lib/python3.6/dist-packages/instapy

  • 在 Windows 上:E:\Users\(yourprofile)\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\instapy

来源:https ://github.com/timgrossmann/InstaPy/issues/4877#issuecomment-522282119

于 2021-08-02T15:16:53.900 回答