├── requirements.txt └── main.py /requirements.txt: -------------------------------------------------------------------------------- 1 | requests 2 | colorama 3 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | import requests, os 2 | from colorama import Fore, init 3 | def pse(): 4 | os.system('pause') 5 | pse() 6 | init() 7 | username = input(f'{Fore.LIGHTMAGENTA_EX}Username: {Fore.RESET}') 8 | email = input(f'{Fore.LIGHTMAGENTA_EX}Email: {Fore.RESET}') 9 | password = input(f'{Fore.LIGHTMAGENTA_EX}Password: {Fore.RESET}') 10 | 11 | resp = requests.post("https://spclient.wg.spotify.com/signup/public/v1/account", data={ 12 | "birth_day": "1", 13 | "birth_month": "01", 14 | "birth_year": "1970", 15 | "collect_personal_info": "undefined", 16 | "creation_flow": "", 17 | "creation_point": "https://www.spotify.com/uk/", 18 | "displayname": username, 19 | "username": username, 20 | "gender": "neutral", 21 | "iagree": "1", 22 | "key": "a1e486e2729f46d6bb368d6b2bcda326", 23 | "platform": "www", 24 | "referrer": "https://www.spotify.com/uk/", 25 | "send-email": "0", 26 | "thirdpartyemail": "0", 27 | "email": email, 28 | "password": password, 29 | "password_repeat": password 30 | }, headers={ 31 | "accept": "*/*", 32 | "accept-language": "en-uk,en;q=0.9", 33 | "content-type": "application/x-www-form-urlencoded", 34 | "sec-fetch-dest": "empty", 35 | "sec-fetch-mode": "cors", 36 | "sec-fetch-site": "same-site", 37 | "sec-gpc": "1", 38 | "referer": "https://www.spotify.com/", 39 | "referrer-policy": "strict-origin-when-cross-origin" 40 | }) 41 | 42 | if "login_token" in resp.text: 43 | print(f'{Fore.LIGHTGREEN_EX}Account Created\nLogin: {Fore.LIGHTMAGENTA_EX}{username}:{Fore.LIGHTMAGENTA_EX}{password}\nResponse: {resp.text}') 44 | pse() 45 | 46 | elif "That email is already" or "Invalid Email" in resp.text: 47 | print(f'{Fore.LIGHTRED_EX}You got an error! Please try using a different email\nResponse: {resp.text}') 48 | pse() 49 | 50 | else: 51 | print(f'{Fore.LIGHTRED_EX}You got an error! Try with a different username and/or disable your proxy/VPN. If that doesn\'t work, please open issue on GitHub \nResponse: {resp.text} \n {resp.status_code}') 52 | pse() 53 | --------------------------------------------------------------------------------