mirror of
https://github.com/uhIgnacio/SpotifyAccountCreator.git
synced 2024-08-14 23:01:06 +00:00
better
This commit is contained in:
parent
2c07b61f6a
commit
056f5e5adf
1 changed files with 34 additions and 27 deletions
25
main.py
25
main.py
|
@ -1,11 +1,17 @@
|
|||
import requests, colorama
|
||||
import requests
|
||||
from colorama import init, Fore
|
||||
|
||||
# main stuff.
|
||||
username = input('Username: ')
|
||||
password = input('Password: ')
|
||||
email = input('Email: ')
|
||||
# Colorama init
|
||||
init()
|
||||
|
||||
# Input for Account Creation.
|
||||
username = input(f'{Fore.LIGHTMAGENTA_EX}Username: ')
|
||||
password = input(f'{Fore.LIGHTWHITE_EX}Password: ')
|
||||
email = input(f'{Fore.LIGHTCYAN_EX}Email: ')
|
||||
|
||||
headers = {
|
||||
"User-Agent":
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36",
|
||||
"birth_day": "02",
|
||||
"birth_month": "08",
|
||||
"birth_year": "2000",
|
||||
|
@ -24,10 +30,11 @@ headers = {
|
|||
"thirdpartyemail": "0",
|
||||
"fb": "0",
|
||||
"username": username,
|
||||
}
|
||||
} # DONT CHANGE
|
||||
|
||||
resp = requests.post("https://spclient.wg.spotify.com/signup/public/v1/account")
|
||||
resp = requests.post("https://spclient.wg.spotify.com/signup/public/v1/account"
|
||||
) # Account Creation
|
||||
if resp.status_code == 1:
|
||||
print(f'Account Created\nLogin: {username}:{password}')
|
||||
print(f'{Fore.LIGHTGREEN_EX}Account Created\nLogin: {Fore.LIGHTBLUE_EX}{username}:{Fore.LIGHTBLACK_EX}{password}')
|
||||
else:
|
||||
print('bye bye!')
|
||||
print(f'{Fore.LIGHTRED_EX}You got a error! please open issue on GitHub or try with other name and/or email')
|
||||
|
|
Loading…
Reference in a new issue