Open chuplaktiktoker opened 1 year ago
Maybe it is safer letting the bot wait every 10 minutes for 2. ? :/
Like something like this....
import random
class AMFBot: def init(self, twitter_user, twitter_pwd):
def open(self):
bot = self.bot
bot.get("https://www.like4like.org/")
bot.maximize_window()
# ...
# Loop through the profiles
for i in range(1, 6):
# Click on the "Like" button
bot.find_element(By.CSS_SELECTOR, f"#profile{i} .like-action .btn-success").click()
# Wait for the profile to be liked
time.sleep(random.uniform(5, 7))
# Pause for 2 minutes every 10 minutes
if i % 10 == 0:
print("Pausing for 2 minutes...")
time.sleep(120)
ed.twtlk()
# ...
Like4like disabled my like4like account. maybe because of the bot ? what do u think guys