def superlike(self, amount=1): if self._is_logged_in(): helper = GeomatchHelper(browser=self.browser) for _ in range(amount): self._handle_potential_popups() helper.superlike() # update for stats after session ended self.session_data['superlike'] += 1 self._print_liked_stats()
def superlike(self, amount=1): if self.isLoggedIn(): helper = GeomatchHelper(browser=self.browser) loadingbar = LoadingBar(amount, "superlikes") for index in range(amount): self.handlePotentialPopups() helper.superlike() # update for stats after session ended self.session_data['dislike'] += 1 # update loadingbar display loadingbar.updateLoadingBar(index)