This commit is contained in:
igna 2021-08-27 01:35:17 -04:00 committed by GitHub
parent 2c07b61f6a
commit 056f5e5adf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

61
main.py
View file

@ -1,33 +1,40 @@
import requests, colorama import requests
from colorama import init, Fore
# main stuff. # Colorama init
username = input('Username: ') init()
password = input('Password: ')
email = input('Email: ') # 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 = { headers = {
"birth_day": "02", "User-Agent":
"birth_month": "08", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36",
"birth_year": "2000", "birth_day": "02",
"collect_personal_info": "undefined", "birth_month": "08",
"creation_flow": "", "birth_year": "2000",
"creation_point": "https://www.spotify.com/us/", "collect_personal_info": "undefined",
"displayname": username, "creation_flow": "",
"email": email, "creation_point": "https://www.spotify.com/us/",
"gender": "male", "displayname": username,
"iagree": "1", "email": email,
"key": "a1e486e2729f46d6bb368d6b2bcda326", "gender": "male",
"password": password, "iagree": "1",
"password_repeat": password, "key": "a1e486e2729f46d6bb368d6b2bcda326",
"platform": "", "password": password,
"send-email": "0", "password_repeat": password,
"thirdpartyemail": "0", "platform": "",
"fb": "0", "send-email": "0",
"username": username, "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: 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: 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')