InstaPy / InstaPy/instapy-quickstart

security codes error

未关闭
#232 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
777
派生
763
PR 合并指标
30 天内没有已合并 PR

描述

Hello,
when I try to launch my script this is the error:
```
._. ._. ._. ._. ._. ._. ._. ._. ._.
Custom workspace set: "/home/pi/InstaPy" :]
Traceback (most recent call last):
File "/home/pi/InstaPy/assets/script.py", line 30, in
disable_image_load=True)
TypeError: __init__() got an unexpected keyword argument 'security_codes'

```

I've added the security_codes because my account has the 2FA:

```
session = InstaPy(username=insta_username,
password=insta_password,
security_codes=["1234","5678"],
```
Any ideas? Is this a bug?

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start with assets/script.py at line 30 and inspect the InstaPy constructor call against the parameters it accepts. Reproduce the launch error, then verify the supported two-factor authentication configuration and update the quickstart example if needed. Done means the example no longer raises the unexpected-keyword TypeError.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
authentication
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。