Advertisement
Hoangsontung_Jusst

TT_TDS_FROFILE_FB+CA_NHAN

Mar 23rd, 2023
695
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 8.00 KB | None | 0 0
  1. from bs4 import BeautifulSoup
  2. from datetime import datetime
  3. import re,requests,os,sys
  4. from time import sleep
  5. black='\033[1;90m'
  6. pink='\033[1;97m'
  7. red='\033[1;91m'
  8. green='\033[1;92m'
  9. blue='\033[1;96m'
  10. yellow='\033[1;93m'
  11. pinkx='\033[7;37m\033[1;37m'
  12. pink='\033[1;95m'
  13. redb='\033[7;37m\033[1;91m'
  14. redz='\033[1;41;97m'
  15. end='\033[0m'
  16. hquantool=pink+'['+blue+'JUSST'+pink+']'
  17. hquantool_no_pro=pinkx+'[JUSST]'+end
  18. hln=pink+"["+blue+"JUSST"+pink+"]"
  19. sadboiz=pink+"["+blue+"JUSST"+pink+"]"
  20. def logo():
  21.     log="""        
  22. """
  23.     os.system('clear')  
  24.     for h in log:
  25.        sys.stdout.write(h)
  26.        sys.stdout.flush()
  27.        sleep(0.001)
  28. logo()
  29. while(True):
  30.         token_tds=input(pink+'\033[1;31m[\033[1;37m=.=\033[1;31m] \033[1;37m=> \033[1;32mNHẬP ACCESS_TOKEN TDS: \033[1;33m')
  31.         print("\033[1;31m────────────────────────────────────────────────────────────")
  32.         ttacc=requests.get('https://traodoisub.com/api/?fields=profile&access_token='+str(token_tds))
  33.         if 'error' in ttacc.text:print(red+ttacc.json()['error'].upper())
  34.         if 'success' in ttacc.text:
  35.                 user=ttacc.json()['data']['user']
  36.                 xu=ttacc.json()['data']['xu']
  37.                 xu_die=ttacc.json()['data']['xudie']
  38.                 print(pink+''+blue+'\033[1;92mTên Tài Khoản TDS : '+pink+user.upper()+blue+'')
  39.                 sleep(1)
  40.                 print("\033[1;31m────────────────────────────────────────────────────────────")
  41.                 break
  42. while(True):
  43.         while(True):
  44.                 while(True):
  45.                         ck_fb=input(blue+'\033[1;31m[\033[1;37m=.=\033[1;31m] \033[1;37m=> \033[1;32mNHẬP COOKIE FACEBOOK: \033[1;33m')
  46.                         os.system("clear")
  47.                         if ck_fb=='':break
  48.                         u_check='https://mbasic.facebook.com/profile.php'
  49.                         h={'cookie':ck_fb}
  50.                         check=requests.get(url=u_check,headers=h).text
  51.                         try:
  52.                                 name=check.split('<title>')[1].split('</title>')[0]
  53.                                 id_fb=ck_fb.split('c_user=')[1].split(';')[0]
  54.                                 print(f'[SUCCESS-NAME:{name}][COOKIE LIVE]')
  55.                                 sleep(2)
  56.                                 break
  57.                         except:
  58.                                 print(sadboiz,pink+'['+red+'COOKIE FACEBOOK DIE'+pink+']')
  59.                 if ck_fb=='':
  60.                         print(blue+'THANKS BẠN ĐÃ SỬ DỤNG TOOL CỦA',sadboiz+' !')
  61.                         quit()
  62.                 logo()
  63.                 u_run='https://traodoisub.com/api/?fields=run&id='+id_fb+'&access_token='+token_tds
  64.                 print(pink+'['+blue+'ĐANG'+pink+' CẤU HÌNH'+blue+' ID: '+pink+id_fb+blue+']')
  65.                 run=requests.get(url=u_run)
  66.                 if 'success' in run.text:
  67.                         print(hquantool,'['+run.json()['data']['msg'].upper()+']')
  68.                         sleep(0.5)
  69.                         break
  70.                 else:
  71.                         print(red+run.json()['error'].upper())
  72.         logo()
  73.         stop=int(input(pink+'NHẬP '+blue+'SỐ NHIỆM VỤ: '+pink))
  74.         delay=int(input(blue+'NHẬP '+pink+'DELAY: '+green))
  75.         s=0
  76.         logo()
  77.         while(True):
  78.                 print(hquantool,' Đợi Giây Lát',end="\r")
  79.                 while(True):
  80.                         try:
  81.                                 list_nv=requests.get('https://traodoisub.com/api/?fields=reaction&access_token='+token_tds)
  82.                                 if 'id' in list_nv.text:break
  83.                         except:
  84.                                 print(hquantool_no_pro+pink+'['+red+'INTERNET KHÔNG ỔN ĐỊNH !!!'+pink+']','               ',end='\r')
  85.                 for x in range(0,len(list_nv.json())):
  86.                         try:
  87.                                 id_post=list_nv.json()[x]['id']
  88.                                 type_post=list_nv.json()[x]['type']
  89.                                 if str(type_post)=='LIKE':
  90.                                         type_rect='LIKE'
  91.                                         v=1
  92.                                 if str(type_post)=='LOVE':
  93.                                         type_rect='LOVE '
  94.                                         v=2
  95.                                 if str(type_post)=='CARE':
  96.                                         type_rect='CARE '
  97.                                         v=3
  98.                                 if str(type_post)=='HAHA':
  99.                                         type_rect='HAHA '
  100.                                         v=4
  101.                                 if str(type_post)=='WOW':
  102.                                         type_rect='WOW  '
  103.                                         v=5
  104.                                 if str(type_post)=='SAD':
  105.                                         type_rect='SAD  '
  106.                                         v=6
  107.                                 if str(type_post)=='ANGRY':
  108.                                         type_rect='ANGRY'
  109.                                         v=7
  110.                                 host='https://mbasic.facebook.com'
  111.                                 u=host+'/reactions/picker/?is_permalink=1&ft_id='+id_post
  112.                                 h={'cookie':ck_fb}
  113.                                 check=requests.get(url=u,headers=h).text
  114.                                 if 'Trước tiên, bạn phải đăng nhập.' in check:
  115.                                         break
  116.                                 if 'Phẫn nộ' in check:
  117.                                         cx=BeautifulSoup(check,'html.parser')
  118.                                         type_cx=cx.find_all('a')
  119.                                         u_cx=host+str(type_cx[v]['href'])
  120.                                         rect=requests.get(url=u_cx,headers=h).text
  121.                                         #print(rect)
  122.                                         #1like_2tym_3thuongthuong_4haha
  123.                                         #5wow_6sad_7phanno
  124.                                 nhan_tien=requests.get('https://traodoisub.com/api/coin/?type='+type_post+'&id='+id_post+'&access_token='+token_tds)
  125.                                 if 'success' in nhan_tien.text:
  126.                                         s=s+1
  127.                                         xu=str(nhan_tien.json()['data']['xu'])
  128.                                         msg=str(nhan_tien.json()['data']['msg']).upper()
  129.                                         time=datetime.now().strftime("%H:%M:%S")
  130.                                         print(hquantool_no_pro+pink+'['+blue+str(s)+pink+']['+time+']['+blue+type_rect+pink+']['+blue+msg+pink+']['+blue+xu+pink+']','     ')
  131.                                         if s==stop:break
  132.                                         for a in range(delay,0,-1):
  133.                                                 print(hquantool,'['+blue+str(a)+pink+']','     ',end='\r')
  134.                                                 sleep(0.7)
  135.                         except:
  136.                                 print(hquantool_no_pro+pink+'['+red+'INTERNET KHÔNG ỔN ĐỊNH !!!'+pink+']','               ',end='\r')
  137.                 if s==stop:break
  138.                 if 'Trước tiên, bạn phải đăng nhập.' in check:
  139.                                         print(hquantool_no_pro+pink+'['+red+'COOKIE FACEBOOK DIE'+pink+']','                    ')
  140.                                         break
  141.         print(hquantool+pink+'[DỪNG TOOL ẤN'+blue+' ENTER !!!'+pink+']')
  142.         ttacc=requests.get('https://traodoisub.com/api/?fields=profile&access_token='+str(token_tds)).json()
  143.         if s==stop:print(hquantool_no_pro+pink+'[SUCCESS] TỔNG XU:',yellow+str(ttacc['data']['xu'])+']')
  144. 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement