Advertisement
Guest User

BT268

a guest
Dec 9th, 2019
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1.  
  2. import time
  3. from time import sleep
  4. import pyautogui as pg
  5. import random
  6. import pyperclip
  7.  
  8. pg.FAILSAFE = False
  9. pyperclip.copy("https://direct-link.net/60340/Rutracker")# copies this https://direct-link.net/60340/Rutracker
  10.  
  11. pg.click(1303, 81)# clicks new tab
  12. time.sleep(0.2) # pauses for 0.2 seconds
  13. pg.click(1265, 82)# closes previous tab
  14.  
  15.  
  16.  
  17. #THIS SECTION IS FOR TOUCH VPN CHROME SECTION
  18. pg.click(1626, 118)# clicks extension
  19. time.sleep(6)
  20. pg.click(1597, 217)# disconnects from vpn
  21. time.sleep(6)
  22. pg.click(1453, 435)#clicks connect button to vpn
  23. time.sleep(10)
  24. #this might need some editing
  25. #END OF TOUCH VPN CHROME SECTION
  26. pg.click(1657, 117)
  27. time.sleep(1)
  28. pg.moveTo(1651, 203)
  29. pg.dragTo(1651, 229)
  30.  
  31. time.sleep(1)
  32. one = (1451, 233)
  33. two = (1451, 249)
  34. three = (1451, 267)
  35. four = (1451, 285)
  36. five = (1451, 302)
  37. six = (1451, 319)
  38. oneofsix = random.choice([one,two,three,four,five,six])
  39. pg.click(oneofsix, clicks=2)
  40.  
  41. time.sleep(2)
  42.  
  43. pg.rightClick(1217,118) #Rightclick searchbar
  44. time.sleep(1)
  45. pg.click(1250,266) #paste and search
  46.  
  47.  
  48. xx = random.randint(1293, 1315)# generate random number between X,XX
  49. yy = random.randint(639, 657)# generate random number between Y,YY
  50.  
  51. pause = random.randint(7,10)# pick random wait time between 6 and 8 (makes it harder to be detected)
  52. time.sleep(pause) # uses variable above with random value between 6 and 8 and waits for that number
  53.  
  54. pg.moveTo(xx,yy, duration= 3)
  55. pg.click()# clicks the captcha box
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement