InstaPy / InstaPy/instapy-quickstart
] Failed to get followers count of 'b'myusername'' ~empty list
- 主要言語
- Python
- スター
- 777
- フォーク
- 763
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
hi
i have installed instapy and emoji. next i have launched follow unfollow script, but i receive alway this message:
..................................................................
INFO [2022-07-26 14:43:49] [sephiroth986] Logged in successfully!
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
INFO [2022-07-26 14:43:49] [sephiroth986] Saving account progress...
INFO [2022-07-26 14:44:41] [sephiroth986] Failed to get followers count of 'b'sephiroth986'' ~empty list
INFO [2022-07-26 14:45:32] [sephiroth986] Failed to get following count of 'b'sephiroth986'' ~empty list
WARNING [2022-07-26 14:45:32] [sephiroth986] Unable to save account progress, skipping data update
b"'NoneType' object has no attribute 'get'"
INFO [2022-07-26 14:45:33] [sephiroth986] Sessional Live Report:
|> No any statistics to show
[Session lasted 2.43 minutes]
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2022-07-26 14:45:33] [sephiroth986] Session ended!
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Traceback (most recent call last):
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\Lib\site-packages\quickstart.py", line 58, in
with smart_run(session):
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 135, in __enter__
return next(self.gen)
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\Lib\site-packages\instapy\util.py", line 1983, in smart_run
session.login()
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\Lib\site-packages\instapy\instapy.py", line 475, in login
self.followed_by = log_follower_num(self.browser, self.username, self.logfolder)
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\Lib\site-packages\instapy\print_log_writer.py", line 21, in log_follower_num
followed_by = getUserData("graphql.user.edge_followed_by.count", browser)
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\Lib\site-packages\instapy\util.py", line 501, in getUserData
get_key = shared_data.get("entry_data").get("ProfilePage")
AttributeError: 'NoneType' object has no attribute 'get'
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start with instapy/util.py at getUserData and print_log_writer.py at log_follower_num, then follow the login path shown in instapy.py. Reproduce the follow/unfollow script and inspect why the follower and following lookups return an empty result. Done means the counts are obtained, account progress is saved, and the NoneType error no longer occurs.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100