InstaPy / InstaPy/InstaPy

Failed to get followers count of 'b'USERNAME'' ~empty list

Open
#6,627 34 comments 8 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
18.2k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

## Current Behavior
its successful login to the account but after some time we got 2 failed messages, before opening the target user profile we are facing this issue

Failed to get followers count of 'b'USERNAME'' ~empty list
Failed to get following count of 'b'USERNAME'' ~empty list

Traceback (most recent call last):
File "C:\Users\Noman\Desktop\instapy-quickstart-master\quickstart_templates\basic_follow-unfollow_activity.py", line 35, in
with smart_run(session):
File "C:\Users\Noman\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 135, in __enter__
return next(self.gen)
File "C:\Users\Noman\AppData\Local\Programs\Python\Python310\lib\site-packages\instapy\util.py", line 1983, in smart_run
session.login()
File "C:\Users\Noman\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\Noman\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\Noman\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'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.