├── README.md ├── get_credit_on_AddMeFast.py ├── get_credit_on_KingdomLikes.py ├── get_credit_on_KtechSeven.py ├── get_credit_on_YouLikeHits.py ├── get_instagram_followers.py ├── get_instagram_likes.py ├── init.py └── requirements.txt /README.md: -------------------------------------------------------------------------------- 1 | # Usage 2 | install requirements in a new virtual environment using pip install -r requirements.txt. 3 | 4 | # FollowerBot 5 | Follower bot for Instagram: 6 | 7 | Before running the program, please enter your Gmail credentials. Because the server side added a control to send followers. If the server doesn't send followers to you anymore, please change your Instagram username. 8 | After you run the program, enter your instagram username and get free Instagram followers. It sends 10 followers at a time! No need to enter your Instagram password to the system. PS: You have to have a public profile to get free followers. 9 | 10 | # LikeBot 11 | Liker bot for Instagram: 12 | 13 | Before running the program, please enter your Gmail credentials. Because the server side added a control to send likes. 14 | After you run the program, enter your instagram post URL and get free Instagram likes. It sends 100 likes at a time! No need to enter your Instagram password to the system. PS: ou have to have a public profile to get free likes. 15 | 16 | # Open a Fake Gmail Account 17 | 18 | To open a fake Gmail account, please follow these steps. 19 | 20 | 1) Go to create Gmail account web page. 21 | 2) Find a unique Gmail address. 22 | 3) To add mobile phone number, please use https://getfreesmsnumber.com/ web page. 23 | 4) Confirm and here we go! 24 | 25 | # Get Credit 26 | 27 | I wrote a bot program for websites that the more credits you earn, the more followers and likes you can gain. The bot helps you earn credits by going to the relevant website and watching videos in the background. In order to convert these credits into followers or likes, you need to go to the website manually from your browser and make the definitions. 28 | 29 | # Remarks 30 | 31 | When you get expiration error on get_instagram_followers.py or get_instagram_likes.py programs, please change your Instagram username and start the bot again. 32 | 33 | Although you change your username and still get expiration error, please try VPN and start the bot again. For example: Hotspot Shield Free VPN program. 34 | 35 | # Donations 36 | If you feel like showing your love and/or appreciation for this project, then how about shouting me a coffee or beer :) 37 | 38 | Buy Me A Coffee 39 | -------------------------------------------------------------------------------- /get_credit_on_AddMeFast.py: -------------------------------------------------------------------------------- 1 | from time import sleep 2 | import sys 3 | sys.path.append(r'C:\\Projects\\Get_Free_Followers') 4 | from init import * 5 | from random import randint, sample 6 | 7 | class AddMeFast: 8 | def setup(self): 9 | Setup.init(self) 10 | sleep(4) 11 | self.browser.get('https://addmefast.com') 12 | sleep(4) 13 | username = self.browser.find_element(By.XPATH, '//*[@id="wrapper"]/section[2]/div/div[4]/form/div[1]/div[1]/input[1]') 14 | username.send_keys(YOUR ADDMEFAST E-MAIL ADDRESS) 15 | 16 | password = self.browser.find_element(By.XPATH, '//*[@id="wrapper"]/section[2]/div/div[4]/form/div[1]/div[1]/input[2]') 17 | password.send_keys('YOUR ADDMEFAST PASSWORD) 18 | 19 | button = self.browser.find_element(By.NAME, 'login_button') 20 | button.click() 21 | sleep(6) 22 | 23 | if "Login" in self.browser.page_source: 24 | print('Something went wrong in Addmefast login process.') 25 | else: 26 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 27 | print('Logged in AddmeFast. Your current point is: ' + point.text) 28 | 29 | def no_content(self): 30 | self.browser.save_screenshot('no_content.png') 31 | sleep(4) 32 | self.browser.get('https://addmefast.com/bonus_points') 33 | sleep(4) 34 | 35 | need = self.browser.find_element(By.XPATH, '/html/body/div[2]/div[2]/div[3]/center/div[2]/center/div/font/b') 36 | need = need.text 37 | sleep(2) 38 | 39 | try: 40 | if int(need) >= 100: 41 | print('Get your daily bonus') 42 | os._exit(0) 43 | else: 44 | sleep(1) 45 | except: 46 | sleep(1) 47 | 48 | def login_gmail(self): 49 | self.browser.get('https://mail.google.com') 50 | sleep(5) 51 | 52 | actions = ActionChains(self.browser) 53 | actions.send_keys(YOUR GMAIL ADDRESS).perform() 54 | sleep(2) 55 | actions.send_keys(Keys.RETURN).perform() 56 | sleep(2) 57 | 58 | actions.send_keys(YOUR GMAIL PASSWORD).perform() 59 | sleep(2) 60 | actions.send_keys(Keys.RETURN).perform() 61 | sleep(10) 62 | 63 | word_list = ["Forgot", "Try again"] 64 | context = self.browser.page_source 65 | 66 | for word in word_list: 67 | if word in context: 68 | AddMeFast.login_gmail(self) 69 | else: 70 | sleep(2) 71 | 72 | if "Inbox" in self.browser.page_source: 73 | print('Logged in Gmail.') 74 | else: 75 | print('Something went wrong in Gmail login process.') 76 | self.browser.save_screenshot('gmail_login.png') 77 | sleep(2) 78 | 79 | def login_facebook(self): 80 | self.browser.get('https://www.facebook.com/') 81 | sleep(15) 82 | 83 | cookies = WebDriverWait(self.browser, 10).until( 84 | EC.presence_of_element_located((By.CLASS_NAME, '_9xo5')) 85 | ) 86 | cookies.click() 87 | sleep(5) 88 | 89 | username = WebDriverWait(self.browser, 10).until( 90 | EC.presence_of_element_located((By.NAME, "email")) 91 | ) 92 | username.send_keys(YOUR FACEBOOK E-MAIL ADDRESS) 93 | 94 | password = WebDriverWait(self.browser, 10).until( 95 | EC.presence_of_element_located((By.NAME, "pass")) 96 | ) 97 | password.send_keys(YOUR FACEBOOK PASSWORD) 98 | sleep(2) 99 | 100 | actions = ActionChains(self.browser) 101 | actions.send_keys(Keys.RETURN).perform() 102 | sleep(10) 103 | if "Log In" in self.browser.page_source: 104 | print('Something went wrong in Facebook login process.') 105 | else: 106 | print('Logged in Facebook.') 107 | 108 | def login_twitter(self): 109 | self.browser.get('https://twitter.com/i/flow/login') 110 | sleep(10) 111 | N = 3 112 | actions = ActionChains(self.browser) 113 | for _ in range(N): 114 | actions.send_keys(Keys.TAB).perform() 115 | sleep(2) 116 | actions.send_keys(YOUR TWITTER USERNAME).perform() 117 | sleep(2) 118 | 119 | actions.send_keys(Keys.RETURN).perform() 120 | sleep(2) 121 | 122 | actions.send_keys(YOUR TWITTER PASSWORD).perform() 123 | sleep(2) 124 | 125 | actions.send_keys(Keys.RETURN).perform() 126 | sleep(5) 127 | 128 | M = 2 129 | for _ in range(M): 130 | actions.send_keys(Keys.TAB).perform() 131 | sleep(2) 132 | actions.send_keys(Keys.RETURN).perform() 133 | sleep(5) 134 | if "Log in" in self.browser.page_source: 135 | print('Something went wrong in Twitter login process.') 136 | else: 137 | print('Logged in Twitter.') 138 | 139 | def login_instagram(self): 140 | self.browser.get('https://www.instagram.com/') 141 | sleep(5) 142 | 143 | cookies = WebDriverWait(self.browser, 10).until( 144 | EC.element_to_be_clickable((By.XPATH, "//*[contains(text(), 'Only allow essential cookies')]")) 145 | ) 146 | cookies.click() 147 | sleep(5) 148 | 149 | N = 2 150 | actions = ActionChains(self.browser) 151 | for _ in range(N): 152 | actions.send_keys(Keys.TAB).perform() 153 | sleep(2) 154 | actions.send_keys(Keys.RETURN).perform() 155 | sleep(5) 156 | 157 | username = WebDriverWait(self.browser, 10).until( 158 | EC.presence_of_element_located((By.NAME, "username")) 159 | ) 160 | username.send_keys(YOUR INSTAGRAM USERNAME) 161 | 162 | password = WebDriverWait(self.browser, 10).until( 163 | EC.presence_of_element_located((By.NAME, "password")) 164 | ) 165 | password.send_keys(YOUR INSTAGRAM PASSWORD) 166 | sleep(2) 167 | 168 | actions.send_keys(Keys.RETURN).perform() 169 | sleep(10) 170 | 171 | try: 172 | cookies = WebDriverWait(self.browser, 10).until( 173 | EC.element_to_be_clickable((By.XPATH, '//*[starts-with(@id,"mount_0_0")]/div/div/div[2]/div/div/div[1]/div/div[2]/div/div/div/div/div[2]/div/div/div[3]/div[3]/div/div[1]/div')) 174 | ) 175 | cookies.click() 176 | sleep(5) 177 | except: 178 | sleep(1) 179 | 180 | if "Save" in self.browser.page_source: 181 | print('Logged in Instagram.') 182 | else: 183 | print('Something went wrong in Instagram login process.') 184 | 185 | def login_reddit(self): 186 | self.browser.get('https://www.reddit.com/login/?dest=https%3A%2F%2Fwww.reddit.com%2F') 187 | 188 | username = WebDriverWait(self.browser, 10).until( 189 | EC.presence_of_element_located((By.NAME, 'username')) 190 | ) 191 | username.send_keys(YOUR REDDIT USERNAME) 192 | sleep(2) 193 | 194 | password = WebDriverWait(self.browser, 10).until( 195 | EC.presence_of_element_located((By.NAME, 'password')) 196 | ) 197 | password.send_keys(YOUR REDDIT PASSWORD) 198 | sleep(2) 199 | 200 | actions = ActionChains(self.browser) 201 | actions.send_keys(Keys.RETURN).perform() 202 | sleep(10) 203 | 204 | if "LOG IN" in self.browser.page_source: 205 | print('Something went wrong in Reddit login process.') 206 | else: 207 | print('Logged in Reddit.') 208 | 209 | def login_pinterest(self): 210 | self.browser.get('https://www.pinterest.com/') 211 | sleep(4) 212 | 213 | N = 6 214 | actions = ActionChains(self.browser) 215 | for _ in range(N): 216 | actions.send_keys(Keys.TAB).perform() 217 | actions.send_keys(Keys.RETURN).perform() 218 | sleep(5) 219 | 220 | actions.send_keys(YOUR PINTEREST E-MAIL ADDRESS).perform() 221 | sleep(2) 222 | actions.send_keys(Keys.TAB).perform() 223 | sleep(2) 224 | actions.send_keys(YOUR PINTEREST PASSWORD).perform() 225 | sleep(2) 226 | actions.send_keys(Keys.RETURN).perform() 227 | sleep(10) 228 | 229 | if "Log In" in self.browser.page_source: 230 | print('Something went wrong in Pinterest login process.') 231 | else: 232 | print('Logged in Pinterest.') 233 | 234 | def login_reverbnation(self): 235 | self.browser.get('https://www.reverbnation.com/') 236 | sleep(4) 237 | 238 | sign_in = WebDriverWait(self.browser, 10).until( 239 | EC.element_to_be_clickable((By.XPATH, "//*[contains(text(), 'Log In')]")) 240 | ) 241 | sign_in.click() 242 | sleep(5) 243 | 244 | actions = ActionChains(self.browser) 245 | actions.send_keys(YOUR REVERBNATION E-MAIL ADDRESS).perform() 246 | sleep(2) 247 | actions.send_keys(Keys.TAB).perform() 248 | sleep(2) 249 | actions.send_keys(YOUR REVERBNATION PASSWORD).perform() 250 | sleep(2) 251 | actions.send_keys(Keys.RETURN).perform() 252 | sleep(10) 253 | 254 | if "Dashboard" in self.browser.page_source: 255 | print('Logged in Reverbnation.') 256 | else: 257 | print('Something went wrong in Reverbnation login process.') 258 | 259 | def login_okru(self): 260 | self.browser.get('https://ok.ru/') 261 | sleep(4) 262 | 263 | actions = ActionChains(self.browser) 264 | actions.send_keys(YOUR OKRU E-MAIL ADDRESS).perform() 265 | sleep(2) 266 | actions.send_keys(Keys.TAB).perform() 267 | sleep(2) 268 | actions.send_keys(YOUR OKRU PASSWORD).perform() 269 | sleep(2) 270 | actions.send_keys(Keys.RETURN).perform() 271 | sleep(10) 272 | 273 | if "Home" in self.browser.page_source: 274 | print('Logged in Okru.') 275 | else: 276 | print('Something went wrong in Ok.ru login process.') 277 | sleep(2) 278 | 279 | def surf_website(self): 280 | self.browser.get('https://addmefast.com/websites') 281 | sleep(4) 282 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 283 | point = point.text 284 | 285 | sleep(25) 286 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 287 | point2 = point2.text 288 | sleep(2) 289 | if point != point2: 290 | print('Web surfing process is successful. Your point is: ' + point2) 291 | else: 292 | print('Something went wrong in web surfing process.') 293 | 294 | def youtube_view(self): 295 | self.browser.get('https://addmefast.com/free_points/youtube_views') 296 | sleep(4) 297 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 298 | point = point.text 299 | watch = WebDriverWait(self.browser, 10).until( 300 | EC.presence_of_element_located((By.LINK_TEXT, "View Video")) 301 | ) 302 | watch.click() 303 | WebDriverWait(self.browser, 100).until( 304 | EC.presence_of_element_located((By.XPATH, '//*[@id="content"]/div[1]/div[1]/div/strong[2]')) 305 | ) 306 | 307 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 308 | point2 = point2.text 309 | sleep(2) 310 | if point == point2: 311 | print('Something went wrong in Youtube view process.') 312 | else: 313 | print('Youtube view process is successful. Your point is: ' + point2) 314 | 315 | def instagram_like(self): 316 | self.browser.get('https://addmefast.com/free_points/instagram_likes') 317 | sleep(4) 318 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 319 | point = point.text 320 | like = WebDriverWait(self.browser, 10).until( 321 | EC.presence_of_element_located((By.LINK_TEXT, "Like")) 322 | ) 323 | like.click() 324 | sleep(4) 325 | child = self.browser.window_handles[1] 326 | self.browser.switch_to.window(child) 327 | 328 | do_like = WebDriverWait(self.browser, 10).until( 329 | EC.element_to_be_clickable((By.XPATH, '//*[starts-with(@id,"mount_0_0")]/div/div/div/div[1]/div/div/div/div[1]/div[1]/div[2]/section/main/div[1]/div[1]/article/div/div[3]/div/div/section[1]/span[1]/button')) 330 | ) 331 | do_like.click() 332 | 333 | sleep(10) 334 | self.browser.close() 335 | parent = self.browser.window_handles[0] 336 | self.browser.switch_to.window(parent) 337 | sleep(2) 338 | confirm = WebDriverWait(self.browser, 10).until( 339 | EC.presence_of_element_located((By.LINK_TEXT, "Confirm")) 340 | ) 341 | confirm.click() 342 | sleep(20) 343 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 344 | point2 = point2.text 345 | sleep(2) 346 | if point == point2: 347 | print('Something went wrong in Instagram like process.') 348 | else: 349 | print('Instagram like process is successful. Your point is: ' + point2) 350 | 351 | def instagram_follow(self): 352 | self.browser.get('https://addmefast.com/free_points/instagram') 353 | sleep(4) 354 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 355 | point = point.text 356 | follow = WebDriverWait(self.browser, 10).until( 357 | EC.presence_of_element_located((By.LINK_TEXT, "Follow")) 358 | ) 359 | follow.click() 360 | sleep(4) 361 | child = self.browser.window_handles[1] 362 | self.browser.switch_to.window(child) 363 | do_follow = WebDriverWait(self.browser, 10).until( 364 | EC.element_to_be_clickable((By.XPATH, "//*[contains(text(), 'Follow')]")) 365 | ) 366 | do_follow.click() 367 | 368 | sleep(10) 369 | self.browser.close() 370 | parent = self.browser.window_handles[0] 371 | self.browser.switch_to.window(parent) 372 | sleep(2) 373 | confirm = WebDriverWait(self.browser, 10).until( 374 | EC.presence_of_element_located((By.LINK_TEXT, "Confirm")) 375 | ) 376 | confirm.click() 377 | sleep(20) 378 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 379 | point2 = point2.text 380 | sleep(2) 381 | if point == point2: 382 | print('Something went wrong in Instagram follow process.') 383 | else: 384 | print('Instagram follow process is successful. Your point is: ' + point2) 385 | 386 | def twitter_follow(self): 387 | self.browser.get('https://addmefast.com/free_points/twitter') 388 | sleep(4) 389 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 390 | point = point.text 391 | follow = WebDriverWait(self.browser, 10).until( 392 | EC.presence_of_element_located((By.LINK_TEXT, "Follow")) 393 | ) 394 | follow.click() 395 | sleep(7) 396 | child = self.browser.window_handles[1] 397 | self.browser.switch_to.window(child) 398 | actions = ActionChains(self.browser) 399 | actions.send_keys(Keys.RETURN).perform() 400 | sleep(9) 401 | self.browser.close() 402 | parent = self.browser.window_handles[0] 403 | self.browser.switch_to.window(parent) 404 | sleep(2) 405 | confirm = WebDriverWait(self.browser, 10).until( 406 | EC.presence_of_element_located((By.LINK_TEXT, "Confirm")) 407 | ) 408 | confirm.click() 409 | sleep(20) 410 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 411 | point2 = point2.text 412 | sleep(2) 413 | if point == point2: 414 | print('Something went wrong in Twitter follow process.') 415 | else: 416 | print('Twitter follow process is successful. Your point is: ' + point2) 417 | 418 | def twitter_like(self): 419 | self.browser.get('https://addmefast.com/free_points/twitter_likes') 420 | sleep(4) 421 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 422 | point = point.text 423 | like = WebDriverWait(self.browser, 10).until( 424 | EC.presence_of_element_located((By.LINK_TEXT, "Like")) 425 | ) 426 | like.click() 427 | sleep(8) 428 | child = self.browser.window_handles[1] 429 | self.browser.switch_to.window(child) 430 | actions = ActionChains(self.browser) 431 | actions.send_keys(Keys.RETURN).perform() 432 | sleep(9) 433 | self.browser.close() 434 | parent = self.browser.window_handles[0] 435 | self.browser.switch_to.window(parent) 436 | sleep(2) 437 | confirm = WebDriverWait(self.browser, 10).until( 438 | EC.presence_of_element_located((By.LINK_TEXT, "Confirm")) 439 | ) 440 | confirm.click() 441 | sleep(20) 442 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 443 | point2 = point2.text 444 | sleep(2) 445 | if point == point2: 446 | print('Something went wrong in Twitter like process.') 447 | else: 448 | print('Twitter like process is successful. Your point is: ' + point2) 449 | 450 | def twitter_retweet(self): 451 | self.browser.get('https://addmefast.com/free_points/twitter_retweets') 452 | sleep(4) 453 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 454 | point = point.text 455 | retweet = WebDriverWait(self.browser, 10).until( 456 | EC.presence_of_element_located((By.LINK_TEXT, "Retweet")) 457 | ) 458 | retweet.click() 459 | sleep(6.5) 460 | child = self.browser.window_handles[1] 461 | self.browser.switch_to.window(child) 462 | actions = ActionChains(self.browser) 463 | actions.send_keys(Keys.RETURN).perform() 464 | sleep(9) 465 | self.browser.close() 466 | parent = self.browser.window_handles[0] 467 | self.browser.switch_to.window(parent) 468 | sleep(2) 469 | confirm = WebDriverWait(self.browser, 10).until( 470 | EC.presence_of_element_located((By.LINK_TEXT, "Confirm")) 471 | ) 472 | confirm.click() 473 | sleep(20) 474 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 475 | point2 = point2.text 476 | sleep(2) 477 | if point == point2: 478 | print('Something went wrong in Twitter retweet process.') 479 | else: 480 | print('Twitter retweet process is successful. Your point is: ' + point2) 481 | 482 | def twitter_tweets(self): 483 | self.browser.get('https://addmefast.com/free_points/twitter_tweets') 484 | sleep(4) 485 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 486 | point = point.text 487 | tweet = WebDriverWait(self.browser, 10).until( 488 | EC.element_to_be_clickable((By.LINK_TEXT, "Tweet")) 489 | ) 490 | tweet.click() 491 | sleep(10) 492 | child = self.browser.window_handles[1] 493 | self.browser.switch_to.window(child) 494 | 495 | tweet = WebDriverWait(self.browser, 10).until( 496 | EC.element_to_be_clickable((By.XPATH, '//*[@id="react-root"]/div/div/div[2]/main/div/div/div[2]/div/div/div/div/div[3]/div/div')) 497 | ) 498 | tweet.click() 499 | 500 | sleep(30) 501 | self.browser.close() 502 | parent = self.browser.window_handles[0] 503 | self.browser.switch_to.window(parent) 504 | sleep(2) 505 | confirm = WebDriverWait(self.browser, 10).until( 506 | EC.presence_of_element_located((By.LINK_TEXT, "Confirm")) 507 | ) 508 | confirm.click() 509 | sleep(20) 510 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 511 | point2 = point2.text 512 | sleep(2) 513 | if point == point2: 514 | print('Something went wrong in Twitter tweets process.') 515 | else: 516 | print('Twitter tweets process is successful. Your point is: ' + point2) 517 | self.browser.save_screenshot('twitter_tweets.png') 518 | sleep(2) 519 | 520 | def facebook_followers(self): 521 | self.browser.get('https://addmefast.com/free_points/facebook_subscribes') 522 | sleep(4) 523 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 524 | point = point.text 525 | like = WebDriverWait(self.browser, 10).until( 526 | EC.presence_of_element_located((By.LINK_TEXT, "Follow")) 527 | ) 528 | like.click() 529 | sleep(4) 530 | child = self.browser.window_handles[1] 531 | self.browser.switch_to.window(child) 532 | 533 | sleep(2) 534 | actions = ActionChains(self.browser) 535 | actions.send_keys(Keys.ESCAPE).perform() 536 | sleep(2) 537 | 538 | try: 539 | follow = WebDriverWait(self.browser, 10).until( 540 | EC.element_to_be_clickable((By.XPATH, '//*[starts-with(@id,"mount_0_0")]/div[1]/div[1]/div/div[3]/div/div/div/div[1]/div[1]/div/div/div[1]/div[2]/div/div/div/div[4]/div/div/div[2]/div/div/div')) 541 | ) 542 | follow.click() 543 | sleep(2) 544 | follow2 = WebDriverWait(self.browser, 10).until( 545 | EC.element_to_be_clickable((By.XPATH, 546 | '//*[starts-with(@id,"mount_0_0")]/div[1]/div[1]/div/div[3]/div/div/div/div[1]/div[1]/div/div/div[1]/div[2]/div/div/div/div[4]/div/div/div[3]/div/div/div')) 547 | ) 548 | follow2.click() 549 | sleep(2) 550 | 551 | except: 552 | try: 553 | follow3 = WebDriverWait(self.browser, 10).until( 554 | EC.element_to_be_clickable((By.XPATH, 555 | '//*[starts-with(@id,"mount_0_0")]/div/div[1]/div/div[3]/div/div/div/div[1]/div[1]/div[2]/div/div/div[3]/div/div/div/div[2]/div/div/div[1]/div')) 556 | ) 557 | follow3.click() 558 | sleep(2) 559 | except: 560 | try: 561 | follow4 = WebDriverWait(self.browser, 10).until( 562 | EC.element_to_be_clickable((By.XPATH, 563 | '//*[starts-with(@id,"mount_0_0")]/div/div[1]/div/div[3]/div/div/div/div[1]/div[1]/div/div/div[1]/div[2]/div/div/div/div[4]/div/div/div[3]/div/div/div')) 564 | ) 565 | follow4.click() 566 | sleep(2) 567 | except: 568 | try: 569 | follow5 = WebDriverWait(self.browser, 10).until( 570 | EC.element_to_be_clickable((By.XPATH, 571 | '//*[starts-with(@id,"mount_0_0")]/div/div[1]/div/div[3]/div/div/div/div[1]/div[1]/div[2]/div/div/div[1]/div[2]/div/div/div/div[3]/div/div/div/div/div')) 572 | ) 573 | follow5.click() 574 | sleep(2) 575 | except: 576 | try: 577 | follow6 = WebDriverWait(self.browser, 10).until( 578 | EC.element_to_be_clickable((By.XPATH, 579 | '//*[starts-with(@id,"mount_0_0")]/div/div[1]/div/div[3]/div/div/div/div[1]/div[1]/div/div/div[1]/div[2]/div/div/div/div[4]/div/div/div[2]/div/div/div')) 580 | ) 581 | follow6.click() 582 | sleep(2) 583 | except: 584 | sleep(1) 585 | sleep(5) 586 | 587 | self.browser.close() 588 | parent = self.browser.window_handles[0] 589 | self.browser.switch_to.window(parent) 590 | sleep(5) 591 | confirm = WebDriverWait(self.browser, 10).until( 592 | EC.presence_of_element_located((By.LINK_TEXT, "Confirm")) 593 | ) 594 | confirm.click() 595 | sleep(5) 596 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 597 | point2 = point2.text 598 | sleep(2) 599 | 600 | if point == point2: 601 | print('Something went wrong in Facebook followers process.') 602 | else: 603 | print('Facebook followers process is successful. Your point is: ' + point2) 604 | 605 | def facebook_share(self): 606 | self.browser.get('https://addmefast.com/free_points/facebook_share') 607 | sleep(4) 608 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 609 | point = point.text 610 | like = WebDriverWait(self.browser, 10).until( 611 | EC.presence_of_element_located((By.LINK_TEXT, "Share")) 612 | ) 613 | like.click() 614 | sleep(8) 615 | 616 | child = self.browser.window_handles[1] 617 | self.browser.switch_to.window(child) 618 | 619 | N = 8 620 | actions = ActionChains(self.browser) 621 | for _ in range(N): 622 | actions.send_keys(Keys.TAB).perform() 623 | sleep(2) 624 | actions.send_keys(Keys.RETURN).perform() 625 | sleep(2) 626 | parent = self.browser.window_handles[0] 627 | self.browser.switch_to.window(parent) 628 | sleep(15) 629 | 630 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 631 | point2 = point2.text 632 | sleep(2) 633 | if point == point2: 634 | print('Something went wrong in Facebook share process.') 635 | else: 636 | print('Facebook share process is successful. Your point is: ' + point2) 637 | 638 | def facebook_post_like(self): 639 | self.browser.get('https://addmefast.com/free_points/facebook_post_like') 640 | sleep(4) 641 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 642 | point = point.text 643 | like = WebDriverWait(self.browser, 10).until( 644 | EC.element_to_be_clickable((By.CLASS_NAME, "btn3")) 645 | ) 646 | like.click() 647 | sleep(4) 648 | child = self.browser.window_handles[1] 649 | self.browser.switch_to.window(child) 650 | 651 | sleep(2) 652 | actions = ActionChains(self.browser) 653 | actions.send_keys(Keys.ESCAPE).perform() 654 | sleep(2) 655 | 656 | try: 657 | like = WebDriverWait(self.browser, 10).until( 658 | EC.element_to_be_clickable((By.XPATH, "//*[contains(text(), 'Like')]")) 659 | ) 660 | like.click() 661 | except: 662 | sleep(1) 663 | 664 | sleep(10) 665 | self.browser.close() 666 | parent = self.browser.window_handles[0] 667 | self.browser.switch_to.window(parent) 668 | sleep(5) 669 | confirm = WebDriverWait(self.browser, 10).until( 670 | EC.presence_of_element_located((By.LINK_TEXT, "Confirm")) 671 | ) 672 | confirm.click() 673 | sleep(5) 674 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 675 | point2 = point2.text 676 | sleep(2) 677 | 678 | if point == point2: 679 | print('Something went wrong in Facebook post like process.') 680 | else: 681 | print('Facebook post like process is successful. Your point is: ' + point2) 682 | 683 | def facebook_post_share(self): 684 | self.browser.get('https://addmefast.com/free_points/facebook_post_share') 685 | sleep(4) 686 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 687 | point = point.text 688 | share = WebDriverWait(self.browser, 10).until( 689 | EC.element_to_be_clickable((By.CLASS_NAME, "btn3")) 690 | ) 691 | share.click() 692 | sleep(4) 693 | child = self.browser.window_handles[1] 694 | self.browser.switch_to.window(child) 695 | 696 | sleep(2) 697 | actions = ActionChains(self.browser) 698 | actions.send_keys(Keys.ESCAPE).perform() 699 | sleep(2) 700 | 701 | try: 702 | share = WebDriverWait(self.browser, 10).until( 703 | EC.element_to_be_clickable((By.XPATH, "//*[contains(text(), 'Share')]")) 704 | ) 705 | share.click() 706 | sleep(2) 707 | 708 | now = WebDriverWait(self.browser, 10).until( 709 | EC.element_to_be_clickable((By.XPATH, "//*[contains(text(), 'Post')]")) 710 | ) 711 | now.click() 712 | sleep(2) 713 | 714 | except: 715 | sleep(1) 716 | 717 | sleep(10) 718 | self.browser.close() 719 | parent = self.browser.window_handles[0] 720 | self.browser.switch_to.window(parent) 721 | sleep(5) 722 | confirm = WebDriverWait(self.browser, 10).until( 723 | EC.presence_of_element_located((By.LINK_TEXT, "Confirm")) 724 | ) 725 | confirm.click() 726 | sleep(10) 727 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 728 | point2 = point2.text 729 | sleep(2) 730 | 731 | if point == point2: 732 | print('Something went wrong in Facebook post share process.') 733 | else: 734 | print('Facebook post share process is successful. Your point is: ' + point2) 735 | 736 | def reddit_members(self): 737 | self.browser.get('https://addmefast.com/free_points/reddit_members') 738 | sleep(4) 739 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 740 | point = point.text 741 | join = WebDriverWait(self.browser, 10).until( 742 | EC.presence_of_element_located((By.LINK_TEXT, "Join")) 743 | ) 744 | join.click() 745 | sleep(8) 746 | 747 | child = self.browser.window_handles[1] 748 | self.browser.switch_to.window(child) 749 | 750 | if "Joined" in self.browser.page_source: 751 | self.browser.close() 752 | else: 753 | do_join = WebDriverWait(self.browser, 10).until( 754 | EC.element_to_be_clickable((By.XPATH, "//*[contains(text(), 'Join')]")) 755 | ) 756 | do_join.click() 757 | sleep(15) 758 | self.browser.close() 759 | parent = self.browser.window_handles[0] 760 | self.browser.switch_to.window(parent) 761 | sleep(20) 762 | 763 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 764 | point2 = point2.text 765 | sleep(2) 766 | if point == point2: 767 | print('Something went wrong in Reddit members process.') 768 | else: 769 | print('Reddit members process is successful. Your point is: ' + point2) 770 | 771 | def reddit_upvotes(self): 772 | self.browser.get('https://addmefast.com/free_points/reddit_upvotes') 773 | sleep(4) 774 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 775 | point = point.text 776 | upvote = WebDriverWait(self.browser, 10).until( 777 | EC.element_to_be_clickable((By.LINK_TEXT, "Upvote")) 778 | ) 779 | upvote.click() 780 | sleep(8) 781 | 782 | child = self.browser.window_handles[1] 783 | self.browser.switch_to.window(child) 784 | 785 | try: 786 | do_upvote = WebDriverWait(self.browser, 10).until( 787 | EC.element_to_be_clickable((By.CLASS_NAME, "voteButton ")) 788 | ) 789 | do_upvote.click() 790 | except: 791 | sleep(1) 792 | 793 | sleep(19) 794 | self.browser.close() 795 | 796 | parent = self.browser.window_handles[0] 797 | self.browser.switch_to.window(parent) 798 | sleep(10) 799 | 800 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 801 | point2 = point2.text 802 | sleep(2) 803 | if point == point2: 804 | print('Something went wrong in Reddit upvotes process.') 805 | else: 806 | print('Reddit upvotes process is successful. Your point is: ' + point2) 807 | 808 | def youtube_subscribe(self): 809 | self.browser.get('https://addmefast.com/free_points/youtube_subscribe') 810 | sleep(4) 811 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 812 | point = point.text 813 | subscribe = WebDriverWait(self.browser, 10).until( 814 | EC.presence_of_element_located((By.LINK_TEXT, "Subscribe")) 815 | ) 816 | subscribe.click() 817 | sleep(8) 818 | 819 | child = self.browser.window_handles[1] 820 | self.browser.switch_to.window(child) 821 | 822 | N = 10 823 | actions = ActionChains(self.browser) 824 | for _ in range(N): 825 | actions.send_keys(Keys.TAB).perform() 826 | sleep(2) 827 | actions.send_keys(Keys.RETURN).perform() 828 | 829 | sleep(9) 830 | self.browser.close() 831 | parent = self.browser.window_handles[0] 832 | self.browser.switch_to.window(parent) 833 | sleep(20) 834 | 835 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 836 | point2 = point2.text 837 | sleep(2) 838 | if point == point2: 839 | print('Something went wrong in Youtube subscribe process.') 840 | else: 841 | print('Youtube subscribe process is successful. Your point is: ' + point2) 842 | 843 | def pinterest_save(self): 844 | self.browser.get('https://addmefast.com/free_points/pinterest_save') 845 | sleep(4) 846 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 847 | point = point.text 848 | save = WebDriverWait(self.browser, 10).until( 849 | EC.presence_of_element_located((By.LINK_TEXT, "Save")) 850 | ) 851 | save.click() 852 | sleep(8) 853 | 854 | child = self.browser.window_handles[1] 855 | self.browser.switch_to.window(child) 856 | 857 | do_save = WebDriverWait(self.browser, 10).until( 858 | EC.element_to_be_clickable((By.XPATH, "//*[contains(text(), 'Save')]")) 859 | ) 860 | do_save.click() 861 | 862 | sleep(10) 863 | self.browser.close() 864 | parent = self.browser.window_handles[0] 865 | self.browser.switch_to.window(parent) 866 | sleep(20) 867 | 868 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 869 | point2 = point2.text 870 | sleep(2) 871 | if point == point2: 872 | print('Something went wrong in Pinterest save process.') 873 | else: 874 | print('Pinterest save process is successful. Your point is: ' + point2) 875 | 876 | def pinterest_followers(self): 877 | self.browser.get('https://addmefast.com/free_points/pinterest') 878 | sleep(4) 879 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 880 | point = point.text 881 | follow = WebDriverWait(self.browser, 10).until( 882 | EC.presence_of_element_located((By.LINK_TEXT, "Follow")) 883 | ) 884 | follow.click() 885 | sleep(8) 886 | 887 | child = self.browser.window_handles[1] 888 | self.browser.switch_to.window(child) 889 | 890 | do_follow = WebDriverWait(self.browser, 10).until( 891 | EC.element_to_be_clickable((By.XPATH, "//*[contains(text(), 'Follow')]")) 892 | ) 893 | do_follow.click() 894 | 895 | sleep(10) 896 | self.browser.close() 897 | parent = self.browser.window_handles[0] 898 | self.browser.switch_to.window(parent) 899 | sleep(20) 900 | 901 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 902 | point2 = point2.text 903 | sleep(2) 904 | if point == point2: 905 | print('Something went wrong in Pinterest follow process.') 906 | else: 907 | print('Pinterest follow process is successful. Your point is: ' + point2) 908 | 909 | def reverbnation_fan(self): 910 | self.browser.get('https://addmefast.com/free_points/reverbnation_fan') 911 | sleep(4) 912 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 913 | point = point.text 914 | be_a_fan = WebDriverWait(self.browser, 10).until( 915 | EC.element_to_be_clickable((By.CLASS_NAME, "btn3")) 916 | ) 917 | be_a_fan.click() 918 | sleep(8) 919 | 920 | child = self.browser.window_handles[1] 921 | self.browser.switch_to.window(child) 922 | 923 | do_be_a_fan = WebDriverWait(self.browser, 10).until( 924 | EC.element_to_be_clickable((By.XPATH, "//*[contains(text(), 'Become A Fan')]")) 925 | ) 926 | do_be_a_fan.click() 927 | 928 | sleep(15) 929 | self.browser.close() 930 | parent = self.browser.window_handles[0] 931 | self.browser.switch_to.window(parent) 932 | sleep(20) 933 | 934 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 935 | point2 = point2.text 936 | sleep(2) 937 | if point == point2: 938 | print('Something went wrong in Reverbnation fan process.') 939 | else: 940 | print('Reverbnation fan process is successful. Your point is: ' + point2) 941 | 942 | def okru_join(self): 943 | self.browser.get('https://addmefast.com/free_points/ok_group_join') 944 | sleep(4) 945 | point = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 946 | point = point.text 947 | join = WebDriverWait(self.browser, 10).until( 948 | EC.element_to_be_clickable((By.CLASS_NAME, "btn3")) 949 | ) 950 | join.click() 951 | sleep(8) 952 | 953 | child = self.browser.window_handles[1] 954 | self.browser.switch_to.window(child) 955 | 956 | do_join = WebDriverWait(self.browser, 10).until( 957 | EC.element_to_be_clickable((By.XPATH, "//*[contains(text(), 'Join')]")) 958 | ) 959 | do_join.click() 960 | 961 | sleep(15) 962 | self.browser.close() 963 | parent = self.browser.window_handles[0] 964 | self.browser.switch_to.window(parent) 965 | sleep(20) 966 | 967 | point2 = self.browser.find_element(By.XPATH, '//*[@id="toppointsbalance"]') 968 | point2 = point2.text 969 | sleep(2) 970 | if point == point2: 971 | print('Something went wrong in Ok.Ru join process.') 972 | else: 973 | print('Ok.Ru join fan process is successful. Your point is: ' + point2) 974 | 975 | def close_browser(self): 976 | Setup.close_browser(self) 977 | 978 | amf = AddMeFast() 979 | amf.setup() 980 | 981 | amf.login_facebook() 982 | amf.login_gmail() 983 | amf.login_instagram() 984 | amf.login_okru() 985 | amf.login_pinterest() 986 | amf.login_reddit() 987 | amf.login_reverbnation() 988 | amf.login_twitter() 989 | 990 | array = [amf.surf_website, amf.youtube_view, amf.twitter_like, amf.twitter_retweet, amf.twitter_follow, 991 | amf.twitter_tweets, amf.instagram_like, amf.instagram_follow, amf.facebook_followers, 992 | amf.facebook_share, amf.facebook_post_like, amf.facebook_post_share, amf.reddit_members, amf.reddit_upvotes, 993 | amf.youtube_subscribe, amf.pinterest_save, amf.pinterest_followers, amf.reverbnation_fan, amf.okru_join] 994 | 995 | while(True): 996 | list = sample(array, len(array)) 997 | for i in range(len(array)): 998 | try: 999 | list[i]() 1000 | except: 1001 | amf.no_content() 1002 | delay = randint(10, 30) 1003 | print('We could not find a content to collect points. We are waiting ' + str(delay) + ' seconds...') 1004 | sleep(delay) 1005 | -------------------------------------------------------------------------------- /get_credit_on_KingdomLikes.py: -------------------------------------------------------------------------------- 1 | from time import sleep 2 | import sys 3 | sys.path.append(r'C:\\Projects\\Get_Free_Followers') 4 | from init import * 5 | 6 | class KingdomLikes: 7 | def setup(self): 8 | Setup.init(self) 9 | 10 | def go_to_website(self): 11 | sleep(4) 12 | self.browser.get('https://kingdomlikes.com/') 13 | sleep(5) 14 | 15 | uid = self.browser.find_element(By.NAME, 'email') 16 | uid.send_keys(YOUR KINGDOMLIKES EMAIL ADDRESS) 17 | sleep(2) 18 | pwd = self.browser.find_element(By.NAME, 'password') 19 | pwd.send_keys(YOUR KINGDOMLIKES PASSWORD) 20 | sleep(2) 21 | btn = self.browser.find_element(By.ID, 'buttonmobile') 22 | btn.click() 23 | sleep(2) 24 | #You must add your social media account to KingdomLikes system. 25 | print('Getting credits... Please do not terminate the program.') 26 | while (True): 27 | self.browser.get('https://kingdomlikes.com/free_points/youtube-views') 28 | try: 29 | sleep(4) 30 | yt_view = self.browser.find_element(By.XPATH, '//*[@id="idpage5"]/div/div[5]/button') 31 | yt_view.click() 32 | element_present = EC.presence_of_element_located( 33 | (By.XPATH, '//*[@id="idpage6"]/div/div[5]/button')) 34 | WebDriverWait(self.browser, 350).until(element_present) 35 | except: 36 | while(True): 37 | self.browser.get('https://kingdomlikes.com/free_points/web-traffic') 38 | sleep(4) 39 | surf = self.browser.find_element(By.XPATH, '//*[@id="idpage5"]/div/div[5]/button') 40 | surf.click() 41 | element_present = EC.presence_of_element_located( 42 | (By.XPATH, '//*[@id="idpage6"]/div/div[5]/button')) 43 | WebDriverWait(self.browser, 350).until(element_present) 44 | 45 | def close_browser(self): 46 | Setup.close_browser(self) 47 | 48 | kl = KingdomLikes() 49 | while(True): 50 | kl.setup() 51 | try: 52 | kl.go_to_website() 53 | except: 54 | kl.close_browser() 55 | -------------------------------------------------------------------------------- /get_credit_on_KtechSeven.py: -------------------------------------------------------------------------------- 1 | from time import sleep 2 | import sys 3 | sys.path.append(r'C:\\Projects\\Get_Free_Followers') 4 | from init import * 5 | 6 | class KtechSeven: 7 | def setup(self): 8 | Setup.init(self) 9 | sleep(4) 10 | self.browser.get('https://ktechseven.com/') 11 | sleep(5) 12 | uid = self.browser.find_element(By.NAME, 'login') 13 | uid.send_keys(YOUR KTECHSEVEN USERNAME) 14 | pwd = self.browser.find_element(By.NAME, 'pass') 15 | pwd.send_keys(YOUR KTECHSEVEN PASSWORD) 16 | sleep(2) 17 | btn = self.browser.find_element(By.XPATH, '/html/body/div[2]/div/div[1]/div[1]/form/div[1]/input') 18 | btn.click() 19 | sleep(2) 20 | 21 | def get_point(self): 22 | point = self.browser.find_element(By.ID, 'c_coins') 23 | print('Your point is: ' + point.text) 24 | return point 25 | 26 | def go_to_website(self): 27 | print('Getting credits... Please do not terminate the program.') 28 | for i in range(2): 29 | self.browser.get('https://ktechseven.com/p.php?p=youtube') 30 | sleep(4) 31 | yt_view = self.browser.find_element(By.CLASS_NAME, 'followbutton') 32 | yt_view.click() 33 | sleep(2) 34 | N = 26 35 | play = ActionChains(self.browser) 36 | for _ in range(N): 37 | play.send_keys(Keys.TAB).perform() 38 | sleep(2) 39 | play.send_keys(Keys.RETURN).perform() 40 | sleep(70) 41 | 42 | def close_browser(self): 43 | Setup.close_browser(self) 44 | 45 | ks = KtechSeven() 46 | ks.setup() 47 | while(True): 48 | try: 49 | ks.go_to_website() 50 | ks.get_point() 51 | except: 52 | print('Content not found to watch or surf. Refreshing webpage...') 53 | sleep(60) 54 | -------------------------------------------------------------------------------- /get_credit_on_YouLikeHits.py: -------------------------------------------------------------------------------- 1 | from time import sleep 2 | import sys 3 | sys.path.append(r'C:\\Projects\\Get_Free_Followers') 4 | from init import * 5 | 6 | class YouLikeHits: 7 | def setup(self): 8 | Setup.init(self) 9 | 10 | def get_point(self): 11 | point = self.browser.find_element(By.ID, 'currentpoints') 12 | print('Your point is: ' + point.text) 13 | return point 14 | 15 | def go_to_website(self): 16 | sleep(4) 17 | self.browser.get('https://www.youlikehits.com/login.php') 18 | sleep(5) 19 | uid = self.browser.find_element(By.ID, 'username') 20 | uid.send_keys('YOUR YOULIKEHITS USERNAME') 21 | pwd = self.browser.find_element(By.ID, 'password') 22 | pwd.send_keys('YOUR YOULIKEHITS PASSWORD') 23 | sleep(2) 24 | btn = self.browser.find_element(By.XPATH, '/html/body/table[2]/tbody/tr/td/table/tbody/tr/td/table/tbody/tr[2]/td/center/form/table/tbody/tr[3]/td/span/input') 25 | btn.click() 26 | sleep(2) 27 | 28 | print('Getting credits... Please do not terminate the program.') 29 | while(True): 30 | try: 31 | self.browser.get('https://www.youlikehits.com/youtubenew2.php') 32 | sleep(4) 33 | yt_view = self.browser.find_element(By.XPATH, '//*[@id="listall"]/center/a[1]') 34 | yt_view.click() 35 | 36 | element_present = EC.presence_of_element_located( 37 | (By.XPATH, "//*[contains(text(), 'Points Added')]")) 38 | WebDriverWait(self.browser, 1000).until(element_present) 39 | 40 | except: 41 | while(True): 42 | self.browser.get('https://www.youlikehits.com/websites.php') 43 | sleep(4) 44 | surf = WebDriverWait(self.browser, 10).until( 45 | EC.presence_of_element_located((By.LINK_TEXT, "Visit")) 46 | ) 47 | surf.click() 48 | sleep(25) 49 | child = self.browser.window_handles[1] 50 | self.browser.switch_to.window(child) 51 | self.browser.close() 52 | parent = self.browser.window_handles[0] 53 | self.browser.switch_to.window(parent) 54 | sleep(2) 55 | 56 | def close_browser(self): 57 | Setup.close_browser(self) 58 | 59 | ylh = YouLikeHits() 60 | while(True): 61 | try: 62 | ylh.setup() 63 | ylh.go_to_website() 64 | except: 65 | ylh.get_point() 66 | print('Content not found to watch or surf. Refreshing webpage...') 67 | ylh.close_browser() 68 | -------------------------------------------------------------------------------- /get_instagram_followers.py: -------------------------------------------------------------------------------- 1 | from init import * 2 | 3 | username = input('What is your Instagram username?\n') 4 | print('Getting followers... Please do not terminate the program.') 5 | 6 | class Instagram: 7 | def setup(self): 8 | Setup.init(self) 9 | 10 | def go_to_website(self): 11 | sleep(4) 12 | self.browser.get('https://tolinay.com/instagram-takipci-hilesi') 13 | sleep(4) 14 | 15 | try: 16 | uid = self.browser.find_element(By.XPATH, '/html/body/div[3]/div[2]/div[2]/form/div/div[1]/input') 17 | uid.send_keys(username) 18 | sleep(5) 19 | button = self.browser.find_element(By.XPATH, '/html/body/div[3]/div[2]/div[2]/form/div/div[3]/button') 20 | button.click() 21 | sleep(5) 22 | 23 | element_present = EC.presence_of_element_located((By.XPATH, '/html/body/div[3]/div[2]/div[1]/div/div/div[1]/div')) 24 | WebDriverWait(self.browser, 1000).until(element_present) 25 | except: 26 | print('\nSomething went wrong!\n') 27 | 28 | if("Başarıyla Gönderildi" in self.browser.page_source): 29 | print(f"\n20 followers followed you!") 30 | 31 | elif("Çok Hızlı İşlem Yapıyorsunuz" in self.browser.page_source): 32 | print(f"\nError! Do not run the program fast mode!") 33 | 34 | def close_browser(self): 35 | Setup.close_browser(self) 36 | 37 | ig = Instagram() 38 | ig.setup() 39 | 40 | while(True): 41 | ig.go_to_website() 42 | -------------------------------------------------------------------------------- /get_instagram_likes.py: -------------------------------------------------------------------------------- 1 | from init import * 2 | 3 | post_link = input('What is your post link?\n') 4 | print('Getting likes... Please do not terminate the program.') 5 | 6 | class Instagram: 7 | def setup(self): 8 | Setup.init(self) 9 | 10 | def go_to_website(self): 11 | sleep(4) 12 | self.browser.get('https://tolinay.com/instagram-begeni-hilesi') 13 | sleep(4) 14 | 15 | try: 16 | uid = self.browser.find_element(By.XPATH, '/html/body/div[3]/div[2]/div[2]/form/div/div[1]/input') 17 | uid.send_keys(post_link) 18 | sleep(5) 19 | 20 | button = self.browser.find_element(By.XPATH, '/html/body/div[3]/div[2]/div[2]/form/div/div[3]/button') 21 | button.click() 22 | sleep(5) 23 | 24 | element_present = EC.presence_of_element_located((By.XPATH, '/html/body/div[3]/div[2]/div[1]/div/div/div[1]/div')) 25 | WebDriverWait(self.browser, 1000).until(element_present) 26 | except: 27 | print('\nSomething went wrong!\n') 28 | 29 | if("Başarıyla Gönderildi" in self.browser.page_source): 30 | print(f"\nYou got 100 likes!") 31 | 32 | elif("Çok Hızlı İşlem Yapıyorsunuz" in self.browser.page_source): 33 | print(f"\nError! Do not run the program fast mode!") 34 | 35 | def close_browser(self): 36 | Setup.close_browser(self) 37 | 38 | ig = Instagram() 39 | ig.setup() 40 | 41 | while(True): 42 | ig.go_to_website() 43 | -------------------------------------------------------------------------------- /init.py: -------------------------------------------------------------------------------- 1 | from selenium import webdriver 2 | from webdriver_manager.chrome import ChromeDriverManager 3 | from time import sleep 4 | import warnings 5 | from selenium.webdriver.common.keys import Keys 6 | from selenium.webdriver.common.action_chains import ActionChains 7 | from selenium.webdriver.common.by import By 8 | from random import randint, sample, choice 9 | from selenium.webdriver.support import expected_conditions as EC 10 | from selenium.webdriver.support.ui import WebDriverWait 11 | from selenium.webdriver.common.window import WindowTypes 12 | from seleniumbase import Driver 13 | 14 | class Setup: 15 | def init(self): 16 | self.browser = Driver(headless=True) 17 | 18 | def close_browser(self): 19 | self.browser.delete_all_cookies() 20 | self.browser.quit() 21 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | beautifulsoup4==4.11.1 2 | selenium==4.8.0 3 | undetected_chromedriver==3.1.7 4 | webdriver_manager==3.8.2 5 | --------------------------------------------------------------------------------