MCPcopy
hub / github.com/InstaPy/InstaPy / pick_unfollowers

Method pick_unfollowers

instapy/instapy.py:4603–4636  ·  view source on GitHub ↗

Compares the `followers` stored in a latest local copy against either lively generated data or previous local copy and returns absent followers

(
        self,
        username: str = None,
        compare_by: str = "latest",
        compare_track: str = "first",
        live_match: bool = False,
        store_locally: bool = True,
        print_out: bool = True,
    )

Source from the content-addressed store, hash-verified

4601 return grabbed_following
4602
4603 def pick_unfollowers(
4604 self,
4605 username: str = None,
4606 compare_by: str = "latest",
4607 compare_track: str = "first",
4608 live_match: bool = False,
4609 store_locally: bool = True,
4610 print_out: bool = True,
4611 ):
4612 """
4613 Compares the `followers` stored in a latest local
4614 copy against either lively generated data or previous
4615 local copy and returns absent followers
4616 """
4617
4618 message = "Starting to pick Unfollowers of {}..".format(username)
4619 highlight_print(self.username, message, "feature", "info", self.logger)
4620
4621 # get all and active Unfollowers
4622 all_unfollowers, active_unfollowers = get_unfollowers(
4623 self.browser,
4624 self.username,
4625 username,
4626 compare_by,
4627 compare_track,
4628 self.relationship_data,
4629 live_match,
4630 store_locally,
4631 print_out,
4632 self.logger,
4633 self.logfolder,
4634 )
4635
4636 return all_unfollowers, active_unfollowers
4637
4638 def pick_nonfollowers(
4639 self, username: str = None, live_match: bool = False, store_locally: bool = True

Callers

nothing calls this directly

Calls 2

highlight_printFunction · 0.85
get_unfollowersFunction · 0.85

Tested by

no test coverage detected