InstaPy / InstaPy/instapy-quickstart
security codes error
- Dominant language
- Python
- Stars
- 777
- Forks
- 763
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100