Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIXED BUG that created error when trying to grab followers/following of own private profile #6344

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions instapy/relationship_tools.py
Expand Up @@ -81,7 +81,7 @@ def get_followers(

if (
is_private is None
or (is_private is True and following_status not in ["Following", True])
or (is_private is True and following_status not in ["OWNER", "Following", True])
or (following_status == "Blocked")
):
logger.info(
Expand Down Expand Up @@ -374,7 +374,7 @@ def get_following(
is_private = is_private_profile(browser, logger, following_status == "Following")
if (
is_private is None
or (is_private is True and following_status not in ["Following", True])
or (is_private is True and following_status not in ["OWNER", "Following", True])
or (following_status == "Blocked")
):
logger.info(
Expand Down