MCPcopy Index your code
hub / github.com/InstaPy/InstaPy / pick_mutual_following

Method pick_mutual_following

instapy/instapy.py:4685–4708  ·  view source on GitHub ↗

Returns Mutual Following data- all of the usernames who do follow the user WHOM user itself also do follow back

(
        self, username: str = None, live_match: bool = False, store_locally: bool = True
    )

Source from the content-addressed store, hash-verified

4683 return fans
4684
4685 def pick_mutual_following(
4686 self, username: str = None, live_match: bool = False, store_locally: bool = True
4687 ):
4688 """
4689 Returns Mutual Following data- all of the usernames who
4690 do follow the user WHOM user itself also do follow back
4691 """
4692
4693 message = "Starting to pick Mutual Following of {}..".format(username)
4694 highlight_print(self.username, message, "feature", "info", self.logger)
4695
4696 # get Mutual Following
4697 mutual_following = get_mutual_following(
4698 self.browser,
4699 self.username,
4700 username,
4701 self.relationship_data,
4702 live_match,
4703 store_locally,
4704 self.logger,
4705 self.logfolder,
4706 )
4707
4708 return mutual_following
4709
4710 def end(self, threaded_session: bool = False):
4711 """Closes the current session"""

Callers

nothing calls this directly

Calls 2

highlight_printFunction · 0.85
get_mutual_followingFunction · 0.85

Tested by

no test coverage detected