forked from nikyy2/TikTok-ViewBots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nocaptcharesolver.py
50 lines (40 loc) · 1.51 KB
/
nocaptcharesolver.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import undetected_chromedriver as uc
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from time import sleep
#https://www.tiktok.com/@nikymetaa/video/7384913024856919326
link_request = input("link: ")
chrome_options = uc.ChromeOptions()
driver = uc.Chrome(options=chrome_options)
driver.set_window_size(600, 900) #for window size
try:
driver.get("https://zefoy.com/")
sleep(3)
click1 = WebDriverWait(driver, 45).until(
EC.element_to_be_clickable((By.XPATH, '/html/body/div[6]/div/div[2]/div/div/div[6]/div/button'))
)
click1.click()
sleep(2)
input_link = driver.find_element(By.XPATH, '/html/body/div[10]/div/form/div/input')
input_link.send_keys(link_request)
sleep(5)
while True:
try:
click2 = WebDriverWait(driver, 10).until(
EC.element_to_be_clickable((By.XPATH, '/html/body/div[10]/div/form/div/div/button'))
)
click2.click()
sleep(2)
click3 = WebDriverWait(driver, 10).until(
EC.element_to_be_clickable((By.XPATH, '/html/body/div[10]/div/div/div[1]/div/form/button'))
)
click3.click()
sleep(2)
print("+1000 auras")
except Exception as e:
pass
except Exception as e:
pass
# ALL CREDIT TO @nikymetaa on Discord
# ALL CREDIT TO @nikyisme on Youtube