forked from 511j/tiktok-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtiktok_checker.py
49 lines (46 loc) · 2.88 KB
/
tiktok_checker.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
import requests
import random
import time
import os
from colorama import Fore
from tkinter import messagebox
from discord_webhook import DiscordWebhook, DiscordEmbed
os.system("clear")
logo = f'''
___ ___ ___ ___ ___ ___
`._|=| |=|_.' .'| .'| .'| `._|=| |=|_.' .'|=|`. .'| .'|
| | {Fore.GREEN} .' | .' | .' .' | | .' | | `. .' | .' .'
| | | | | |=|.: {Fore.WHITE} | | | | | | | |=|.:
`. | | | | | |'. `. | `. | | .' | | |'.
`.| |___| {Fore.GREEN}|___| |_| `.| `.|=|.' |___| |_|
___ ___ ___ ___ __
.'|=|_.' .'| |`. .'|=|_.' .{Fore.WHITE}'|=|_.' .'| .'| .'|=|_.' .'|=| |
.' | .' | | `. .' | ___ .' | .' | .' .' .' | ___ .' | | |
| | | |=| | | |=|_.' | | | |=|.: | |=|_.' | |=|.'
`. | ___ | | | | | | ___ `. | ___ | | |'. | | ___ | | |`.
`.|=|_.' |___| |___| |___|=|_.' `.|=|_.' |___| |_| |___|=|_.' |___| |_|
TikTok checker {Fore.GREEN}-{Fore.WHITE} By {Fore.GREEN}:{Fore.WHITE} @ilord4tb {Fore.GREEN}/{Fore.WHITE} Lord4tb .{Fore.GREEN}#{Fore.WHITE}0511
'''
print(logo)
webbb = input(f"[ {Fore.GREEN}+{Fore.WHITE} ] Enter your Discord webhook :{Fore.GREEN} ")
input(f"{Fore.WHITE}[ {Fore.GREEN}*{Fore.WHITE} ] Press Enter to start {Fore.GREEN}..{Fore.WHITE}")
while True:
username = ""
for char in random.choices(f"qwertyuiopasdfghjklzxcvbnm1234567890", k=4):
username = username + char
response = requests.get(f"https://www.tiktok.com/@{username}")
if (response.status_code == 200):
print(Fore.RED + f"Unavailable >>{Fore.WHITE} {username}")
elif (response.status_code == 404):
print(Fore.GREEN + f"Available >>{Fore.WHITE} {username}")
messagebox.showinfo("#lord4tb Tiktok Checker",f"Available user >> {username}")
webhook = DiscordWebhook(url={webbb})
embed = DiscordEmbed(title='#Lord4tb checker', color='2e2e2e')
embed.set_thumbnail(url='https://cdn.discordapp.com/attachments/962419141892009994/966016990852546590/giphy_2.gif')
embed.set_footer(text='#Lord4tb checker')
embed.add_embed_field(name='TikTok username Checker', value=f'Available user >> {username}')
webhook.add_embed(embed)
response = webhook.execute()
else:
print(f"[ {Fore.RED}-{Fore.WHITE} ] Checker is Blocked {Fore.RED},{Fore.WHITE} try later")
time.sleep(170)