From f48a8b571d00a79ab1425dcde17ce441fe6b5e8d Mon Sep 17 00:00:00 2001 From: igna <88955484+nekospara@users.noreply.github.com> Date: Fri, 27 Aug 2021 07:44:51 -0400 Subject: [PATCH] uh oh --- main.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 0e28b09..6547f83 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,8 @@ -import requests +import requests, os from colorama import Fore, init +def pse(): + os.system('pause') +pse() init() username = input(f'{Fore.LIGHTMAGENTA_EX}Username: {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) if "\"login_token\"" in resp: 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: print(f'{Fore.LIGHTRED_EX}You got a error! Please try using other email\nResponse: {resp.text}') + pse() 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}') + pse()