Last active
January 15, 2022 23:58
-
-
Save iNawaR1/a99b244447241a370b3ad81568313eff to your computer and use it in GitHub Desktop.
Best and fastest Roblox user checker using API no need proxies only user.txt file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import time | |
header = { | |
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', | |
'accept-encoding': 'gzip, deflate, br', | |
'accept-language': 'en-US,en;q=0.9', | |
'cookie': 'GuestData=UserID=-1383991535; RBXEventTrackerV2=CreateDate=1/8/2022 5:26:54 PM&rbxid=3210521638&browserid=124494138220; rbx-ip2=; RBXImageCache=timg=37376434353835342D343837382D346337362D396634382D6465383238393231326439362538372E3135342E3132302E31303225312F382F323032322031313A30343A313420504D96CD5DB2BCBE3E6623F9B5DCE3851B511345BB70', | |
'sec-ch-ua': '" Not;A Brand";v="99", "Microsoft Edge";v="97", "Chromium";v="97"', | |
'sec-ch-ua-mobile': '?0', | |
'sec-ch-ua-platform': '"Windows"', | |
'sec-fetch-dest': 'document', | |
'sec-fetch-mode': 'navigate', | |
'sec-fetch-site': 'none', | |
'sec-fetch-user': '?1', | |
'upgrade-insecure-requests': '1', | |
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.55}',} | |
iNaWaR = 'user.txt' | |
file = open(iNaWaR, 'r') | |
while True: | |
rb = file.readline().split('\n')[0] | |
if rb == '': | |
break | |
NaWaR = f'https://auth.roblox.com/v2/usernames/validate?request.username={rb}&request.birthday=04%2F15%2F02&request.context=Signup' | |
rq = requests.get(NaWaR, headers=header) | |
if 'Username is valid' in rq.text: | |
print(f'Available -->> {rb}') | |
with open('Available-RB.txt', 'a') as x: | |
tl = 'By iNaWaR --> ' | |
x.write(tl + rb + '\n') | |
time.sleep(0) | |
elif 'Usernames cannot start or end with _.' in rq.text: | |
print(f'Unavailable -->> {rb}') | |
elif 'Username is already in use' in rq.text: | |
print(f'Unavailable -->> {rb}') | |
elif 'Username not appropriate for Roblox' in rq.text: | |
print(f'Unavailable -->> {rb}') | |
elif 'Usernames can be 3 to 20 characters long' in rq.text: | |
print(f'Unavailable -->> {rb}') | |
elif 'Only a-z, A-Z, 0-9, and _ are allowed' in rq.text: | |
print(f'Unavailable -->> {rb}') | |
elif 'Username can’t start or end with _' in rq.text: | |
print(f'Unavailable -->> {rb}') | |
else: | |
print(f'Error --> {rb}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment