mirror of
https://github.com/uhIgnacio/SpotifyAccountCreator.git
synced 2024-08-14 23:01:06 +00:00
uh oh
This commit is contained in:
parent
07441cc45c
commit
f48a8b571d
1 changed files with 7 additions and 1 deletions
8
main.py
8
main.py
|
@ -1,5 +1,8 @@
|
||||||
import requests
|
import requests, os
|
||||||
from colorama import Fore, init
|
from colorama import Fore, init
|
||||||
|
def pse():
|
||||||
|
os.system('pause')
|
||||||
|
pse()
|
||||||
init()
|
init()
|
||||||
username = input(f'{Fore.LIGHTMAGENTA_EX}Username: {Fore.RESET}')
|
username = input(f'{Fore.LIGHTMAGENTA_EX}Username: {Fore.RESET}')
|
||||||
email = input(f'{Fore.LIGHTMAGENTA_EX}Email: {Fore.RESET}')
|
email = input(f'{Fore.LIGHTMAGENTA_EX}Email: {Fore.RESET}')
|
||||||
|
@ -24,8 +27,11 @@ data = {
|
||||||
resp = requests.post('https://spclient.wg.spotify.com/signup/public/v1/account', data=data)
|
resp = requests.post('https://spclient.wg.spotify.com/signup/public/v1/account', data=data)
|
||||||
if "\"login_token\"" in resp:
|
if "\"login_token\"" in resp:
|
||||||
print(f'{Fore.LIGHTGREEN_EX}Account Created\nLogin: {Fore.LIGHTBLUE_EX}{username}:{Fore.LIGHTBLACK_EX}{password}\nResponse: {resp.text}')
|
print(f'{Fore.LIGHTGREEN_EX}Account Created\nLogin: {Fore.LIGHTBLUE_EX}{username}:{Fore.LIGHTBLACK_EX}{password}\nResponse: {resp.text}')
|
||||||
|
pse()
|
||||||
|
|
||||||
elif "That email is already" or "Valid Email" in resp:
|
elif "That email is already" or "Valid Email" in resp:
|
||||||
print(f'{Fore.LIGHTRED_EX}You got a error! Please try using other email\nResponse: {resp.text}')
|
print(f'{Fore.LIGHTRED_EX}You got a error! Please try using other email\nResponse: {resp.text}')
|
||||||
|
pse()
|
||||||
else:
|
else:
|
||||||
print(f'{Fore.LIGHTRED_EX}You got a error! please open issue on GitHub or try with other name and/or disable proxy/VPN\nResponse: {resp.text}')
|
print(f'{Fore.LIGHTRED_EX}You got a error! please open issue on GitHub or try with other name and/or disable proxy/VPN\nResponse: {resp.text}')
|
||||||
|
pse()
|
||||||
|
|
Loading…
Reference in a new issue