L

ttctiktok

public
lamdayne1 Aug 07, 2024 Never 38
Clone
Python ttctiktok 311 lines (310 loc) | 19.83 KB
1
#==Màu==#
2
do = "\033[1;91m"
3
xanhbien = "\033[1;36m"
4
vang = "\033[0;33m"
5
hong = "\033[1;35m"
6
xanhduong = "\033[1;20m"
7
xanhla = "\033[1;32m"
8
xanh="\033[1;32m"
9
cam="\033[1;33m"
10
blue="\033[1;20m"
11
lam="\033[1;20m"
12
tim="\033[1;20m"
13
syan="\033[1;36m"
14
xnhac= "\033[1;96m"
15
den="\033[1;90m"
16
luc="\033[1;92m"
17
xduong="\033[1;94m"
18
trang="\033[1;97m"
19
den = "\033[1;90m"
20
luc = "\033[1;32m"
21
trang = "\033[1;37m"
22
red = "\033[1;31m"
23
do = "\033[1;31m"
24
vang = "\033[1;33m"
25
tim = "\033[1;35m"
26
lamd = "\033[1;20m"
27
lam = "\033[1;36m"
28
tim = "\033[35m"
29
hong = "\033[1;95m"
30
# Đánh dấu bản quyền
31
thanh_xau = red + "[" + vang + "⟨⟩" + red + "] " + trang + "➩ "
32
thanh_dep = red + "[" + luc + "✓" + red + "] " + trang + "➩ "
33
34
import requests ,json
35
from time import sleep
36
from datetime import datetime
37
import os
38
from sys import platform
39
from threading import Thread
40
OO0O0OO0O0OOOOOO0 ='mb'if platform [0 :3 ]=='lin'else 'pc'
41
def O000O0OOO0000OO00 (OO0O000O0O0OOOOO0 ,OOOO0000O0OOOO0OO ,OOO0O0OO0O00OOO00 ):
42
OO00O00O0O000O0O0 =datetime .now ().strftime ("%H:%M:%S")
43
print (f'{vang}[{trang}{OO0O000O0O0OOOOO0}{vang}] {red}| {lam}{OO00O00O0O000O0O0} {red}| {vang}{OOOO0000O0OOOO0OO} {red}| {trang}{OOO0O0OO0O00OOO00} {red}|')
44
class OOOOOO000O0O0O0O0 (object ):
45
def __init__ (OO00000O000OOO00O ,O0O0O00OOO000O000 ):
46
OO00000O000OOO00O .token =O0O0O00OOO000O000
47
def login (O0O000OOOOO0OOO0O ):
48
try :
49
O0000OO0O0OO0OO00 =requests .post ('https://tuongtaccheo.com/logintoken.php',headers ={'Content-type':'application/x-www-form-urlencoded',},data ={'access_token':O0O000OOOOO0OOO0O .token })
50
OOO000O0O0O000O0O =O0000OO0O0OO0OO00 .json ()['data']['user']
51
O00OO0OOOO00O0OOO =O0000OO0O0OO0OO00 .json ()['data']['sodu']
52
O0O000OOOOO0OOO0O .cookie ='PHPSESSID='+(O0000OO0O0OO0OO00 .cookies )['PHPSESSID']
53
return OOO000O0O0O000O0O ,O00OO0OOOO00O0OOO
54
except :
55
try :print (red +O0000OO0O0OO0OO00 .json ()['mess'])
56
except :print (red +' Kiểm Tra Kết Nối Mạng (không đc sử dụng ip nước ngoài)')
57
return False
58
def coin (O000OO00O00000O0O ):
59
try :
60
O0OO000000O00O00O ={'user-agent':'Mozilla/5.0 (Linux; Android 11; Live 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.28 Mobile Safari/537.36','cookie':O000OO00O00000O0O .cookie }
61
OOO0OO0OOOOOOO00O =requests .post ('https://tuongtaccheo.com/home.php',headers =O0OO000000O00O00O ).text
62
OO00OOOO0O00OOOO0 =OOO0OO0OOOOOOO00O .split ('"soduchinh">')[1 ].split ('<')[0 ]
63
return OO00OOOO0O00OOOO0
64
except :
65
return False
66
def getnv (OOOO0O00O00OO000O ,OO0O00O0OOOO00000 ):
67
try :
68
OOO00O0O0O00OO00O ={'Content-type':'application/x-www-form-urlencoded','accept':'application/json, text/javascript, */*; q=0.01','accept-language':'vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5','cookie':OOOO0O00O00OO000O .cookie ,'referer':'https://tuongtaccheo.com/kiemtien/','sec-ch-ua':'" Not A;Brand";v="99", "Chromium";v="101"','sec-ch-ua-mobile':'?1','sec-ch-ua-platform':'"Android"','sec-fetch-dest':'empty','sec-fetch-mode':'cors','sec-fetch-site':'same-origin','user-agent':'Mozilla/5.0 (Linux; Android 11; Live 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.28 Mobile Safari/537.36','x-requested-with':'XMLHttpRequest'}
69
O000O00OO0OOOOO0O =requests .post (f'https://tuongtaccheo.com/tiktok/kiemtien/{OO0O00O0OOOO00000}',headers =OOO00O0O0O00OO00O ).json ()
70
return O000O00OO0OOOOO0O
71
except :
72
return False
73
def nhantien (O00OO0OO000O000O0 ,O000OOOO000O00OO0 ,OOOOO00O00O000OOO ):
74
try :
75
OO0O0OO0OOO0OOO0O ='id='+O000OOOO000O00OO0
76
O00000OO0OOOO0OO0 =str (len (OO0O0OO0OOO0OOO0O ))
77
O000OOO000O0OO000 ={'accept':'*/*','accept-language':'vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5','content-length':O00000OO0OOOO0OO0 ,'content-type':'application/x-www-form-urlencoded; charset=UTF-8','cookie':O00OO0OO000O000O0 .cookie ,'referer':'https://tuongtaccheo.com/kiemtien/','sec-ch-ua':'" Not A;Brand";v="99", "Chromium";v="101"','sec-ch-ua-mobile':'?1','sec-ch-ua-platform':'"Android"','sec-fetch-dest':'empty','sec-fetch-mode':'cors','sec-fetch-site':'same-origin','user-agent':'Mozilla/5.0 (Linux; Android 11; Live 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.28 Mobile Safari/537.36','x-requested-with':'XMLHttpRequest'}
78
OOOOO000OO0OOOOO0 =requests .post (f'https://tuongtaccheo.com/tiktok/kiemtien/{OOOOO00O00O000OOO}',headers =O000OOO000O0OO000 ,data =OO0O0OO0OOO0OOO0O )
79
if 'mess'in OOOOO000OO0OOOOO0 .text :
80
O00OOOO0OO000OOO0 =OOOOO000OO0OOOOO0 .json ()['sodu']
81
global O0O00OO0OO0O00O0O
82
O0O00OO0OO0O00O0O +=O00OOOO0OO000OOO0
83
OOO0OOO0OO0OOO000 =500 if OOOOO00O00O000OOO =='nhantien.php'else 1300
84
O0000OOO0O0OO000O =O00OOOO0OO000OOO0 //OOO0OOO0OO0OOO000
85
OO0O00O0O000OO0OO (14 )
86
print (f'{lam}Nhận Thành Công {O0000OOO0O0OO000O} Nhiệm Vụ {red}| {luc}+{O00OOOO0OO000OOO0} {red}| {vang}{O0O00OO0OO0O00O0O}')
87
OO0O00O0O000OO0OO (14 )
88
if O00OOOO0OO000OOO0 ==0 :return False
89
elif '"error2":'in OOOOO000OO0OOOOO0 .text :
90
print (red ,OOOOO000OO0OOOOO0 .json ()['error2'])
91
OO0O00O0O000OO0OO (14 )
92
return False
93
elif '"error":'in OOOOO000OO0OOOOO0 .text :
94
print (red ,OOOOO000OO0OOOOO0 .json ()['error'])
95
OO0O00O0O000OO0OO (14 )
96
else :
97
print (red +'Nhận Xu Thất Bại Vui, Lòng Thử Lại ')
98
OO0O00O0O000OO0OO (14 )
99
except :
100
return False
101
def run (O0O0OOOO000O0OO0O ,OO0000OO0OOOOO000 ):
102
try :
103
O0O000OO00O000000 ={'Content-type':'application/x-www-form-urlencoded','accept':'application/json, text/javascript, */*; q=0.01','accept-language':'vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5','referer':'https://tuongtaccheo.com/cauhinh/tiktok.php','sec-ch-ua':'" Not A;Brand";v="99", "Chromium";v="101"','sec-ch-ua-mobile':'?1','sec-ch-ua-platform':'"Android"','sec-fetch-dest':'empty','sec-fetch-mode':'cors','sec-fetch-site':'same-origin','user-agent':'Mozilla/5.0 (Linux; Android 11; Live 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.28 Mobile Safari/537.36','x-requested-with':'XMLHttpRequest','cookie':O0O0OOOO000O0OO0O .cookie }
104
O000OOOO00O0OO0O0 =requests .post ('https://tuongtaccheo.com/cauhinh/datnick.php',headers =O0O000OO00O000000 ,data ={'iddat[]':OO0000OO0OOOOO000 ,'loai':'tt'}).json ()
105
return O000OOOO00O0OO0O0
106
except :
107
return False
108
def acc_cau_hinh (OOO00O00000O000OO ):
109
try :
110
OOO00O0OOO000O00O =requests .get ('https://tuongtaccheo.com/cauhinh/tiktok.php',headers ={'user-agent':'Mozilla/5.0 (Linux; Android 11; Live 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.28 Mobile Safari/537.36','cookie':OOO00O00000O000OO .cookie }).text
111
O0000OO0O00OOO0OO =OOO00O0OOO000O00O .split ('Nick đang dùng:')[1 ].split ('/> ')[1 ].split ('<')[0 ]
112
return O0000OO0O00OOO0OO
113
except :
114
return False
115
def OO0OOOOO000O00O00 (O0O0O0OOOOO0000O0 ):
116
try :
117
for O0O00OO0OOO0OO00O in range (O0O0O0OOOOO0000O0 ,-1 ,-1 ):
118
print (f'{vang}[{trang}FRIVE{vang}]['+trang +str (O0O00OO0OOO0OO00O )+vang +' Giây] ',end ='\r')
119
sleep (1 )
120
except :
121
sleep (O0O0O0OOOOO0000O0 )
122
print (O0O0O0OOOOO0000O0 ,end ='\r')
123
def OO0O00O0O000OO0OO (OOOO0O0OO0O0OOO00 ):
124
for O0OOO0OO0O00000OO in range (OOOO0O0OO0O0OOO00 ):
125
print (red +'────',end ='')
126
print ('')
127
def O0OOO0O0O0000OOO0 (OO0OOO00O0OOO0O0O ,O00000OOOOOOO00O0 ):
128
if O00000OOOOOOO00O0 =='mb':
129
os .system (f'xdg-open {OO0OOO00O0OOO0O0O}')
130
else :
131
os .system (f'cmd /c start {OO0OOO00O0OOO0O0O}')
132
def OOOO0OO000O0OOOO0 (OOO00OO0O00O00OO0 ):
133
try :
134
OO00000OOOO000OOO =requests .get (f'https://now.tiktok.com/@{OOO00OO0O00O00OO0}',headers ={'user-agent':'Mozilla/5.0 (Linux; Android 11; Live 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.28 Mobile Safari/537.36'}).text
135
OO000O0000OOO0OO0 =OO00000OOOO000OOO .split ('{"id":"')[1 ].split ('"')[0 ]
136
OOOO000OO000O000O =OO00000OOOO000OOO .split ('"nickname":"')[1 ].split ('"')[0 ]
137
return OO000O0000OOO0OO0 ,OOOO000OO000O000O
138
except :
139
return False
140
def OO000000000O000OO ():
141
OOO000O00OOOOOOOO =0
142
OOO0OO00000O0O000 =0
143
OO0O0OO000O00O0O0 =0
144
OOOO0OOO000OO0O0O =''
145
global O0O00OO0OO0O00O0O
146
while True :
147
if os .path .exists ('configttc.txt'):
148
with open ('configttc.txt','r')as O0000O0O0O0OO0O00 :
149
O0O0O0O0OOOOOO000 =O0000O0O0O0OO0O00 .read ()
150
OOOOOO00000O0OO00 =OOOOOO000O0O0O0O0 (O0O0O0O0OOOOOO000 )
151
OOOO0OO00000O000O =OOOOOO00000O0OO00 .login ()
152
if OOOO0OO00000O000O !=False :
153
print (f'{thanh_xau}{luc}Nhập {vang}[{trang}1{vang}] {luc}Giữ Lại Tài Khoản {vang}'+OOOO0OO00000O000O [0 ])
154
print (f'{thanh_xau}{luc}Nhập {vang}[{trang}2{vang}] {luc}Nhập Access_Token TTC Mới')
155
OOOOO00O00OO0OO00 =input (f'{thanh_xau}{luc}Nhập {trang}===>: {vang}')
156
if OOOOO00O00OO0OO00 =='2':
157
os .remove ('configttc.txt')
158
elif OOOOO00O00OO0OO00 =='1':
159
pass
160
else :
161
print (red +'Lựa chọn không xác định !!!');OO0O00O0O000OO0OO (14 )
162
continue
163
else :
164
os .remove ('configttc.txt')
165
if not os .path .exists ('configttc.txt'):
166
O0O0O0O0OOOOOO000 =input (f'{thanh_xau}{luc}Nhập Access_Token TTC: {vang}')
167
with open ('configttc.txt','w')as O0000O0O0O0OO0O00 :
168
O0000O0O0O0OO0O00 .write (O0O0O0O0OOOOOO000 )
169
with open ('configttc.txt','r')as O0000O0O0O0OO0O00 :
170
O0O0O0O0OOOOOO000 =O0000O0O0O0OO0O00 .read ()
171
OOOOOO00000O0OO00 =OOOOOO000O0O0O0O0 (O0O0O0O0OOOOOO000 )
172
OOOO0OO00000O000O =OOOOOO00000O0OO00 .login ()
173
if OOOO0OO00000O000O !=False :
174
O0O00OO0OO0O00O0O =OOOO0OO00000O000O [1 ]
175
OO0OOO00O0O0OO00O =OOOO0OO00000O000O [0 ]
176
print (lam +' Đăng Nhập Thành Công ')
177
break
178
else :
179
os .remove ('configttc.txt')
180
continue
181
print (f'{thanh_xau}{luc}Tên Tài Khoản: {vang}{OO0OOO00O0O0OO00O}')
182
print (f'{thanh_xau}{luc}Xu Hiện Tại: {vang}{O0O00OO0OO0O00O0O}')
183
OO0O00O0O000OO0OO (14 )
184
while True :
185
OO0O0OO000O00O0O0 =0
186
print (f'{thanh_xau}{luc}Nhập {red}[{vang}1{red}] {luc}Để Chạy Nhiệm Vụ Tim')
187
print (f'{thanh_xau}{luc}Nhập {red}[{vang}2{red}] {luc}Để Chạy Nhiệm Vụ Follow')
188
print (f'{thanh_xau}{luc}Nhập {red}[{vang}3{red}] {luc}Để Chạy Nhiệm Vụ Follow Tiktok Now')
189
print (f'{thanh_xau}{luc}Nhập {red}[{vang}4{red}] {luc}Để Chạy Nhiệm Vụ Follow Tiktok Qua Video')
190
OO0OOO0OO000O00O0 =input (f'{thanh_xau}{luc}Nhập Số Để Chạy Nhiệm Vụ: {vang}')
191
OO0OOO000OOO0O000 =int (input (f'{thanh_xau}{luc}Nhập Delay:{vang} '))
192
OO0O00O0O000OO0OO (14 )
193
while True :
194
if OO0O0OO000O00O0O0 ==2 :break
195
OO0O0OO000O00O0O0 =0
196
OO00O00000O0OO0OO =int (input (f'{thanh_xau}{luc}Sau Bao Nhiêu Nhiệm Vụ Thì Nhận Xu: {vang}'))
197
if OO00O00000O0OO0OO <8 :
198
print (f'{red}Trên 8 Nhiệm Vụ Mới Được Nhận Tiền!')
199
continue
200
OOO0O0OO0O00OO0O0 =OOOOOO00000O0OO00 .acc_cau_hinh ()
201
if OOO0O0OO0O00OO0O0 !=False :
202
print (f'{thanh_xau}{luc}Enter Để Dùng Cấu Hình Đã Lưu: {vang}{OOO0O0OO0O00OO0O0}')
203
OO0OOO00O0O0OO00O =input (f'{thanh_xau}{luc}Nhập User Name Cần Cấu Hình:{vang} ')
204
if OOO0O0OO0O00OO0O0 !=False and OO0OOO00O0O0OO00O =='':
205
OO0O00O0O000OO0OO (14 )
206
print (f'{lam}User {vang}{OOO0O0OO0O00OO0O0} {lam}Đã Được Cấu Hình Trước Đó')
207
else :
208
OO0O0000OOOOOOO00 =OOOO0OO000O0OOOO0 (OO0OOO00O0O0OO00O )
209
if OO0O0000OOOOOOO00 ==False :print (red +'Sai User Name Tik Tok.');continue
210
O00OO0OO0000000OO =OOOOOO00000O0OO00 .run (OO0O0000OOOOOOO00 [0 ])
211
print (O00OO0OO0000000OO )
212
if O00OO0OO0000000OO ==1 :OO0O00O0O000OO0OO (14 );print (f'{luc}Đang Cấu Hình ID: {vang}{OO0O0000OOOOOOO00[0]} {red}| {luc}User: {vang}{OO0OOO00O0O0OO00O} {red}| {luc}Tên: {trang}{OO0O0000OOOOOOO00[1]} ');OO0O00O0O000OO0OO (14 )
213
else :print (f'{red}Cấu Hình Thất Bại User: {vang}{OO0OOO00O0O0OO00O}');continue
214
while True :
215
if OO0O0OO000O00O0O0 ==1 or OO0O0OO000O00O0O0 ==2 :break
216
if '1'in OO0OOO0OO000O00O0 :
217
O000OO0OO0OOOO0O0 =OOOOOO00000O0OO00 .getnv ('getpost.php')
218
if O000OO0OO0OOOO0O0 ==False :print (red +'Không Get Được Nhiệm Vụ Tim !');sleep (1 );print (' ',end ='\r');continue
219
elif len (O000OO0OO0OOOO0O0 )==0 :print (red +'Hết Nhiệm Vụ Tim ',end ='\r');sleep (1 );print (' ',end ='\r');continue
220
else :
221
print (f'{luc}Tìm Thấy{vang}',len (O000OO0OO0OOOO0O0 ),f'{luc}Nhiệm Vụ Tim',end ='\r');sleep (1 );print (' ',end ='\r');
222
for OO000OOOOO0OO0000 in O000OO0OO0OOOO0O0 :
223
OO0O00OO0O00000OO =OO000OOOOO0OO0000 ['link'];OO0O0000OOOOOOO00 =OO000OOOOO0OO0000 ['idpost']
224
Thread (target =O0OOO0O0O0000OOO0 ,args =(OO0O00OO0O00000OO ,OO0O0OO0O0OOOOOO0 )).start ()
225
OOOO0OOO000OO0O0O =OOOO0OOO000OO0O0O +str (OO0O0000OOOOOOO00 )+',';OOO0OO00000O0O000 +=1 ;O000O0OOO0000OO00 (OOO0OO00000O0O000 ,'TIM',OO0O0000OOOOOOO00 );OO0OOOOO000O00O00 (OO0OOO000OOO0O000 )
226
if OOO0OO00000O0O000 %OO00O00000O0OO0OO ==0 :
227
sleep (1 )
228
OO0OO0O00000OO00O =OOOOOO00000O0OO00 .nhantien (OOOO0OOO000OO0O0O ,'nhantien.php')
229
OOOO0OOO000OO0O0O =''
230
if OO0OO0O00000OO00O ==False :
231
print (luc +'Nhận Xu Thất Bại Acc Tiktok Của Bạn Ổn Chứ ')
232
print (f'{thanh_xau}{luc}Nhập {red}[{vang}1{red}] {luc}Để Thay Nhiệm Vụ ')
233
print (f'{thanh_xau}{luc}Nhập {red}[{vang}2{red}] {luc}Thay Acc Tiktok ')
234
print (f'{thanh_xau}{luc}Nhấn {red}[{vang}Enter{red}] {luc}Để Tiếp Tục')
235
OOOOO00O00OO0OO00 =input (f'{thanh_xau}{luc}Nhập {trang}===>: {vang}')
236
OO0O00O0O000OO0OO (14 )
237
if OOOOO00O00OO0OO00 =='1':OO0O0OO000O00O0O0 =2 ;break
238
elif OOOOO00O00OO0OO00 =='2':OO0O0OO000O00O0O0 =1 ;break
239
if OO0O0OO000O00O0O0 ==1 or OO0O0OO000O00O0O0 ==2 :break
240
if '2'in OO0OOO0OO000O00O0 :
241
O000OO0OO0OOOO0O0 =OOOOOO00000O0OO00 .getnv ('subcheo/getpost.php')
242
if O000OO0OO0OOOO0O0 ==False :print (red +'Không Get Được Nhiệm Vụ Follow !');sleep (1 );print (' ',end ='\r');continue
243
elif len (O000OO0OO0OOOO0O0 )==0 :print (red +'Hết Nhiệm Vụ Follow ',end ='\r');sleep (1 );print (' ',end ='\r');continue
244
else :
245
print (f'{luc}Tìm Thấy{vang}',len (O000OO0OO0OOOO0O0 ),f'{luc}Nhiệm Vụ Follow',end ='\r');sleep (1 );print (' ',end ='\r');
246
for OO000OOOOO0OO0000 in O000OO0OO0OOOO0O0 :
247
OO0O00OO0O00000OO =OO000OOOOO0OO0000 ['link'];OO0O0000OOOOOOO00 =OO000OOOOO0OO0000 ['idpost']
248
Thread (target =O0OOO0O0O0000OOO0 ,args =(f'https://www.tiktok.com/@{OO0O00OO0O00000OO}',OO0O0OO0O0OOOOOO0 )).start ()
249
OOOO0OOO000OO0O0O =OOOO0OOO000OO0O0O +str (OO0O0000OOOOOOO00 )+',';OOO0OO00000O0O000 +=1 ;O000O0OOO0000OO00 (OOO0OO00000O0O000 ,'FOLLOW',OO0O0000OOOOOOO00 );OO0OOOOO000O00O00 (OO0OOO000OOO0O000 )
250
if OOO0OO00000O0O000 %OO00O00000O0OO0OO ==0 :
251
sleep (1 )
252
OO0OO0O00000OO00O =OOOOOO00000O0OO00 .nhantien (OOOO0OOO000OO0O0O ,'subcheo/nhantien.php')
253
OOOO0OOO000OO0O0O =''
254
if OO0OO0O00000OO00O ==False :
255
print (luc +'Nhận Xu Thất Bại Acc Tiktok Của Bạn Ổn Chứ ')
256
print (f'{thanh_xau}{luc}Nhập {red}[{vang}1{red}] {luc}Để Thay Nhiệm Vụ ')
257
print (f'{thanh_xau}{luc}Nhập {red}[{vang}2{red}] {luc}Thay Acc Tiktok ')
258
print (f'{thanh_xau}{luc}Nhấn {red}[{vang}Enter{red}] {luc}Để Tiếp Tục')
259
OOOOO00O00OO0OO00 =input (f'{thanh_xau}{luc}Nhập {trang}===>: {vang}')
260
OO0O00O0O000OO0OO (14 )
261
if OOOOO00O00OO0OO00 =='1':OO0O0OO000O00O0O0 =2 ;break
262
elif OOOOO00O00OO0OO00 =='2':OO0O0OO000O00O0O0 =1 ;break
263
if OO0O0OO000O00O0O0 ==1 or OO0O0OO000O00O0O0 ==2 :break
264
if '3'in OO0OOO0OO000O00O0 :
265
O000OO0OO0OOOO0O0 =OOOOOO00000O0OO00 .getnv ('subcheo/getpost.php')
266
if O000OO0OO0OOOO0O0 ==False :print (red +'Không Get Được Nhiệm Vụ Follow !');sleep (1 );print (' ',end ='\r');continue
267
elif len (O000OO0OO0OOOO0O0 )==0 :print (red +'Hết Nhiệm Vụ Follow ',end ='\r');sleep (1 );print (' ',end ='\r');continue
268
else :
269
print (f'{luc}Tìm Thấy{vang}',len (O000OO0OO0OOOO0O0 ),f'{luc}Nhiệm Vụ Follow',end ='\r');sleep (1 );print (' ',end ='\r');
270
for OO000OOOOO0OO0000 in O000OO0OO0OOOO0O0 :
271
OO0O00OO0O00000OO =OO000OOOOO0OO0000 ['link'];OO0O0000OOOOOOO00 =OO000OOOOO0OO0000 ['idpost']
272
Thread (target =O0OOO0O0O0000OOO0 ,args =(f'https://now.tiktok.com/@{OO0O00OO0O00000OO}',OO0O0OO0O0OOOOOO0 )).start ()
273
OOOO0OOO000OO0O0O =OOOO0OOO000OO0O0O +str (OO0O0000OOOOOOO00 )+',';OOO0OO00000O0O000 +=1 ;O000O0OOO0000OO00 (OOO0OO00000O0O000 ,'FOLLOW_TIKTOK_NOW',OO0O0000OOOOOOO00 );OO0OOOOO000O00O00 (OO0OOO000OOO0O000 )
274
if OOO0OO00000O0O000 %OO00O00000O0OO0OO ==0 :
275
sleep (1 )
276
OO0OO0O00000OO00O =OOOOOO00000O0OO00 .nhantien (OOOO0OOO000OO0O0O ,'subcheo/nhantien.php')
277
OOOO0OOO000OO0O0O =''
278
if OO0OO0O00000OO00O ==False :
279
print (luc +'Nhận Xu Thất Bại Acc Tiktok Của Bạn Ổn Chứ ')
280
print (f'{thanh_xau}{luc}Nhập {red}[{vang}1{red}] {luc}Để Thay Nhiệm Vụ ')
281
print (f'{thanh_xau}{luc}Nhập {red}[{vang}2{red}] {luc}Thay Acc Tiktok ')
282
print (f'{thanh_xau}{luc}Nhấn {red}[{vang}Enter{red}] {luc}Để Tiếp Tục')
283
OOOOO00O00OO0OO00 =input (f'{thanh_xau}{luc}Nhập {trang}===>: {vang}')
284
OO0O00O0O000OO0OO (14 )
285
if OOOOO00O00OO0OO00 =='1':OO0O0OO000O00O0O0 =2 ;break
286
elif OOOOO00O00OO0OO00 =='2':OO0O0OO000O00O0O0 =1 ;break
287
if OO0O0OO000O00O0O0 ==1 or OO0O0OO000O00O0O0 ==2 :break
288
if '4'in OO0OOO0OO000O00O0 :
289
O000OO0OO0OOOO0O0 =OOOOOO00000O0OO00 .getnv ('subcheo/getpost2.php')
290
if O000OO0OO0OOOO0O0 ==False :print (red +'Không Get Được Nhiệm Vụ Follow !');sleep (1 );print (' ',end ='\r');continue
291
elif len (O000OO0OO0OOOO0O0 )==0 :print (red +'Hết Nhiệm Vụ Follow ',end ='\r');sleep (1 );print (' ',end ='\r');continue
292
else :
293
print (f'{luc}Tìm Thấy{vang}',len (O000OO0OO0OOOO0O0 ),'{luc}Nhiệm Vụ Follow',end ='\r');sleep (1 );print (' ',end ='\r');
294
for OO000OOOOO0OO0000 in O000OO0OO0OOOO0O0 :
295
OO0O00OO0O00000OO =OO000OOOOO0OO0000 ['link'];OO0O0000OOOOOOO00 =OO000OOOOO0OO0000 ['idpost']
296
Thread (target =O0OOO0O0O0000OOO0 ,args =(f'{OO0O00OO0O00000OO}',OO0O0OO0O0OOOOOO0 )).start ()
297
OOOO0OOO000OO0O0O =OOOO0OOO000OO0O0O +str (OO0O0000OOOOOOO00 )+',';OOO0OO00000O0O000 +=1 ;O000O0OOO0000OO00 (OOO0OO00000O0O000 ,'FOLLOW',OO0O0000OOOOOOO00 );OO0OOOOO000O00O00 (OO0OOO000OOO0O000 )
298
if OOO0OO00000O0O000 %OO00O00000O0OO0OO ==0 :
299
sleep (1 )
300
OO0OO0O00000OO00O =OOOOOO00000O0OO00 .nhantien (OOOO0OOO000OO0O0O ,'subcheo/nhantien.php')
301
OOOO0OOO000OO0O0O =''
302
if OO0OO0O00000OO00O ==False :
303
print (luc +'Nhận Xu Thất Bại Acc Tiktok Của Bạn Ổn Chứ ')
304
print (f'{thanh_xau}{luc}Nhập {red}[{vang}1{red}] {luc}Để Thay Nhiệm Vụ ')
305
print (f'{thanh_xau}{luc}Nhập {red}[{vang}2{red}] {luc}Thay Acc Tiktok ')
306
print (f'{thanh_xau}{luc}Nhấn {red}[{vang}Enter{red}] {luc}Để Tiếp Tục')
307
OOOOO00O00OO0OO00 =input (f'{thanh_xau}{luc}Nhập {trang}===>: {vang}')
308
OO0O00O0O000OO0OO (14 )
309
if OOOOO00O00OO0OO00 =='1':OO0O0OO000O00O0O0 =2 ;break
310
elif OOOOO00O00OO0OO00 =='2':OO0O0OO000O00O0O0 =1 ;break
311
OO000000000O000OO ()