SpotifyAccountCreator/main.py

41 lines
1.3 KiB
Python
Raw Normal View History

2021-08-27 05:35:17 +00:00
import requests
from colorama import init, Fore
2021-08-27 05:24:41 +00:00
2021-08-27 05:35:17 +00:00
# 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: ')
2021-08-27 05:24:41 +00:00
headers = {
2021-08-27 05:35:17 +00:00
"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",
"collect_personal_info": "undefined",
"creation_flow": "",
"creation_point": "https://www.spotify.com/us/",
"displayname": username,
"email": email,
"gender": "male",
"iagree": "1",
"key": "a1e486e2729f46d6bb368d6b2bcda326",
"password": password,
"password_repeat": password,
"platform": "",
"send-email": "0",
"thirdpartyemail": "0",
"fb": "0",
"username": username,
} # DONT CHANGE
2021-08-27 05:24:41 +00:00
2021-08-27 05:35:17 +00:00
resp = requests.post("https://spclient.wg.spotify.com/signup/public/v1/account"
) # Account Creation
2021-08-27 05:24:41 +00:00
if resp.status_code == 1:
2021-08-27 05:35:17 +00:00
print(f'{Fore.LIGHTGREEN_EX}Account Created\nLogin: {Fore.LIGHTBLUE_EX}{username}:{Fore.LIGHTBLACK_EX}{password}')
2021-08-27 05:24:41 +00:00
else:
2021-08-27 05:35:17 +00:00
print(f'{Fore.LIGHTRED_EX}You got a error! please open issue on GitHub or try with other name and/or email')