Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # coded by: salism3
- # 13-09-2019
- class confirm:
- def __init__(self, kuki):
- self.hulu = {'User-Agent':'Mozilla/5.0 (Linux; Android 8.1.0; Redmi 5A Build/OPM1.171019.026; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.73 Mobile Safari/537.36', 'Cookie':kuki}
- self.id = []
- def cek(self):
- return r.get('https://mbasic.facebook.com', headers=self.hulu).text
- def dump(self, batas):
- penentu = 0
- next = 0
- jumlah = 0
- while penentu <= 0:
- a = r.get('https://mbasic.facebook.com/friends/center/requests/?ppk='+str(next), headers=self.hulu).text
- next += 1
- if not "Lihat selengkapnya" in a:
- break
- b = parser(a, "html.parser")
- for s in b.find_all('a', string='Konfirmasi'):
- self.id.append('https://mbasic.facebook.com' + str(s.get('href')))
- jumlah += 1
- if jumlah == batas:
- penentu += 1
- break
- def hajar(self):
- print("[+] Proses ....")
- for ss in self.id:
- c = r.get(ss, headers=self.hulu).text
- time.sleep(1)
- print("[+] Done!")
- def home():
- print("[ Auto Acc Friend Requests FB ]")
- print("[ Coded by: SalisM3 ]\n")
- kuki = str(input('[?] Kuki FB Ente: '))
- gas = confirm(kuki)
- if not "mbasic_logout_button" in gas.cek():
- exit("[!] Kuki Ente Salah")
- limit = int(input('[?] Limit: '))
- gas.dump(limit)
- print()
- gas.hajar()
- try:
- import requests as r, time, os;os.system('clear')
- from bs4 import BeautifulSoup as parser
- home()
- except Exception as e:
- print("[!] " + str(e))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement