InstaPy / InstaPy/instapy-quickstart

Error occurred while following through dialog box: 'follow'

Đang mở
#49 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
777
Fork
763
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Does someone know what it is about? It occurs while loading the followers using of some profile that I intend to follow. As soons as it finishes loading the list, the program crashes giving me the following error:

```
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2019-07-05 00:17:14] [emagreca_sem.loucuras] Session ended!
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

Traceback (most recent call last):
File "quickstart.py", line 52, in
randomize=False, interact=False)
File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/instapy.py", line 3255, in follow_user_followers
interact)
File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/instapy.py", line 1088, in follow_by_list
self.logfolder)
File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/unfollow_util.py", line 764, in follow_user
naply = get_action_delay("follow")
File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/util.py", line 1771, in get_action_delay
custom_delay = config[action]
KeyError: 'follow'

```

I'm using the template `basic_follow-unfollow_activity.py`.

It does follow 5 people before crashing though.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu với dòng 52 của quickstart.py và template basic_follow-unfollow_activity.py, sau đó lần theo follow_user trong unfollow_util.py đến get_action_delay trong util.py. Tái hiện luồng tải follower và kiểm tra cấu hình được truyền vào lần tra cứu đó; được xem là hoàn tất khi luồng hoàn thành mà không gặp KeyError đã báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
tooling
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.