()
| 58 | |
| 59 | |
| 60 | def creator(): |
| 61 | global maxi |
| 62 | global created |
| 63 | global errors |
| 64 | while maxi > created: |
| 65 | if title == "windows": |
| 66 | system( |
| 67 | "title " |
| 68 | + f"Spotify Account Creator by KevinLage https://github.com/KevinLage/Spotify-Account-Creator Created: {created}/{maxi} Errors:{errors}" |
| 69 | ) |
| 70 | |
| 71 | s = requests.session() |
| 72 | |
| 73 | email = randomName() |
| 74 | password = randomPassword() |
| 75 | |
| 76 | data = { |
| 77 | "displayname": "Josh", |
| 78 | "creation_point": "https://login.app.spotify.com?utm_source=spotify&utm_medium=desktop-win32&utm_campaign=organic", |
| 79 | "birth_month": "12", |
| 80 | "email": email + "@gmail.com", |
| 81 | "password": password, |
| 82 | "creation_flow": "desktop", |
| 83 | "platform": "desktop", |
| 84 | "birth_year": "1991", |
| 85 | "iagree": "1", |
| 86 | "key": "4c7a36d5260abca4af282779720cf631", |
| 87 | "birth_day": "17", |
| 88 | "gender": "male", |
| 89 | "password_repeat": password, |
| 90 | "referrer": "", |
| 91 | } |
| 92 | |
| 93 | try: |
| 94 | r = s.post( |
| 95 | "https://spclient.wg.spotify.com/signup/public/v1/account/", |
| 96 | data=data, |
| 97 | proxies=proxy1.FormatProxy(), |
| 98 | ) |
| 99 | if '{"status":1,"' in r.text: |
| 100 | open("created.txt", "a+").write(email + "@gmail.com:" + password + "\n") |
| 101 | created += 1 |
| 102 | if title == "windows": |
| 103 | system( |
| 104 | "title " |
| 105 | + f"Spotify Account Creator : {created}/{maxi} Errors:{errors}" |
| 106 | ) |
| 107 | else: |
| 108 | errors += 1 |
| 109 | except: |
| 110 | pass |
| 111 | |
| 112 | |
| 113 | maxi = int(input("How many accounts do you want to create?\n")) |
nothing calls this directly
no test coverage detected