Last active
January 17, 2022 13:20
-
-
Save iNawaR1/266cb739d29f897eacded881d20bec89 to your computer and use it in GitHub Desktop.
Nvidia.com user checker. u need users list.
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 | |
from colorama import Fore | |
headers = { | |
'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': 'AMCV_F207D74D549850760A4C98C6%40AdobeOrg=-1124106680%7CMCMID%7C30930492835502827258194776402433686967%7CvVersion%7C5.2.0; _rdt_uuid=1638095316590.f6f2b803-54cc-40f3-987c-8a8eb4b42a84; _cs_c=0; _cs_id=f8e17f99-15c4-a5a4-b127-379a40296dd5.1638095318.1.1638095318.1638095318.1.1672259318949; _fbp=fb.1.1638095319390.891772472; _gcl_au=1.1.1128413055.1638095319; _mkto_trk=id:156-OFN-742&token:_mch-nvidia.com-1638095319347-86701; mbox=PC#42c830dd08ee44eea02eb0dbb0550cf0.37_0#1705609703|session#058bc948af0742b6819f08f8e4d6080e#1642366763; s_getNewRepeat=1642364902192-Repeat', | |
'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.62', | |
} | |
r=Fore.RED | |
b=Fore.BLUE | |
y=Fore.YELLOW | |
g=Fore.MAGENTA | |
w=Fore.WHITE | |
iNaWaR = 'user.txt' | |
file = open(iNaWaR, 'r') | |
print(f'{g}====================================================================') | |
print(f'{w}By iNaWaR') | |
print(f'{g}====================================================================') | |
while True: | |
Nvidia = file.readline().split('\n')[0] | |
if Nvidia == '': | |
break | |
NaWaR = f'https://accounts.nvgs.nvidia.com/api/1/search/user?q=%7B%22displayName%22:%22{Nvidia}%22%7D' | |
rq = requests.get(NaWaR, headers=headers) | |
time.sleep(0.59) | |
if rq.status_code == 404: | |
print(f'{b}Available -->> {Nvidia}') | |
with open('Available-USERS.txt', 'a') as x: | |
tl = 'By iNaWaR --> ' | |
x.write(tl + Nvidia + '\n') | |
elif rq.status_code == 200: | |
print(f'{y}Taken -->> {Nvidia}') | |
else: | |
print(f'{r} Bad Request please set the time.sleep to 0.6') | |
#by iNaWaR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment