You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
Collecting colored
Downloading colored-2.2.3-py3-none-any.whl (16 kB)
Installing collected packages: colored
Successfully installed colored-2.2.3
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
Collecting pystyle
Downloading pystyle-2.9-py3-none-any.whl (13 kB)
Installing collected packages: pystyle
Successfully installed pystyle-2.9
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
ERROR: Could not find a version that satisfies the requirement random (from versions: none)
ERROR: No matching distribution found for random
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
1
ERROR: Could not find a version that satisfies the requirement string (from versions: none)
ERROR: No matching distribution found for string
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
Collecting uuid
Downloading uuid-1.30.tar.gz (5.8 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: uuid
Building wheel for uuid (pyproject.toml) ... done
Created wheel for uuid: filename=uuid-1.30-py3-none-any.whl size=6484 sha256=aedc6eb6d52c9df6da5ae4553930c3f969a7623357ba5d7c1c79be5894d3350e
Stored in directory: c:\users\owner\appdata\local\pip\cache\wheels\e0\01\df\bd20df409bd81f8b99e6cd343c5f49731dc0a20eefefdafae0
Successfully built uuid
Installing collected packages: uuid
Successfully installed uuid-1.30
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
ERROR: Could not find a version that satisfies the requirement threading (from versions: none)
ERROR: No matching distribution found for threading
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
1
Collecting datetime
Downloading DateTime-5.2-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.2/52.2 kB 912.7 kB/s eta 0:00:00
Collecting zope.interface (from datetime)
Downloading zope.interface-6.0-cp311-cp311-win_amd64.whl (204 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 204.1/204.1 kB 2.1 MB/s eta 0:00:00
Collecting pytz (from datetime)
Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 4.5 MB/s eta 0:00:00
Requirement already satisfied: setuptools in c:\users\owner\appdata\local\programs\python\python311\lib\site-packages (from zope.interface->datetime) (65.5.0)
Installing collected packages: pytz, zope.interface, datetime
Successfully installed datetime-5.2 pytz-2023.3 zope.interface-6.0
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
from threading import Thread, active_count
from colored import fg
from pystyle import Write, System, Colors, Colorate
from json import dumps
from uuid import uuid4
from random import choice, choices, randint
from datetime import datetime
from colorama import Fore
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'colorama'
red = Fore.RED
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
purple = Fore.MAGENTA
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
yellow = Fore.YELLOW
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
green = Fore.GREEN
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
nothing = Fore.RESET
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
dark_blue = Fore.BLUE
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
gray = Fore.LIGHTBLACK_EX
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
blue = Fore.BLUE
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
pink = Fore.LIGHTMAGENTA_EX
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
madeAccounts = 0
failed_accs = 0
proxy_error = 0
def run_account_creation(session):
... while True:
... try:
... token = client_token(session)
... csrf = get_csrf(session)
... generate_account(session, token, csrf)
... except Exception as e:
... pass
...
def get_current_time():
... current_time = datetime.now().strftime("%H:%M:%S")
... return current_time
...
def getBirthday():
... day = str(randint(1, 28))
... month = str(randint(1, 12))
...
if int(month) < 10: month = "0" + month
File "", line 1
if int(month) < 10: month = "0" + month
IndentationError: unexpected indent
if int(day) < 10: day = "0" + day
File "", line 1
if int(day) < 10: day = "0" + day
IndentationError: unexpected indent
File "", line 1
return birthday
IndentationError: unexpected indent
def generate_email():
... with open("data/config.json") as file:
... data = json.load(file)
... gen = data['Email_Names']
... if gen == "" or gen == " ":
... gen = ''.join(random.choices(string.ascii_lowercase + string.digits, k=17))
... domain = "gmail.com"
... email = f"{gen}@{domain}"
... return email
... else:
... domain = "gmail.com"
... email = f"{gen}@{domain}"
... return email
...
def generate_username():
... with open("data/config.json") as file:
... data = json.load(file)
... usernames = data['Username']
... if usernames == "" or usernames == " ":
... username = ''.join(random.choices(string.ascii_lowercase + string.digits, k=10))
... names = ["Radu loves Spotify", "yx1337 is cool", "radutool", "PussyKill", "Big fat cock", "h4ck3dr4du", "yx1337", "imagine genned", "spotifai", "cool gen - radu / yx", "yx is cool", "radu is cool", "very big cock", "fat cock", "penis", "pizda cu chapa"]
... name = choice(names)
... user = username + " | " + name
... username = user
... return username
... else:
... username = ''.join(random.choices(string.ascii_lowercase + string.digits, k=10))
... user = usernames + " | " + username
... username = user
... return username
...
def generate_password():
... with open("data/config.json") as file:
... data = json.load(file)
... check_pass = data['Password']
... if check_pass == "" or check_pass == " ":
... password = ''.join(random.choices(string.ascii_letters + string.digits, k=12))
... return password
... else:
... password = check_pass
... return password
...
def getAvatar():
... avatars = ["images-75.jpg", "images-76.jpg", "images-77.jpg", "images-78.jpg", "images-79.jpg", "images-80.jpg", "images-81.jpg", "images-82.jpg", "images-83.jpg", "images-84.jpg", "images-85.jpg", "images-86.jpg", "images-87.jpg", "images-88.jpg", "images-89.jpg", "images-90.jpg", "images-91.jpg"]
... image = open('data/avatars/' + choice(avatars), 'rb').read()
... return image
... def set_console_title(title):
File "", line 5
def set_console_title(title):
^^^
SyntaxError: invalid syntax
ctypes.windll.kernel32.SetConsoleTitleW(title)
File "", line 1
ctypes.windll.kernel32.SetConsoleTitleW(title)
IndentationError: unexpected indent
set_console_title(f"Spotify Account Creator | By H4cK3dR4Du & yx1337 | github.com/H4cK3dR4Du ~ github.com/yxsyn")
Traceback (most recent call last):
File "", line 1, in
NameError: name 'set_console_title' is not defined
def check_if_proxy():
... headers = {
... "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0"
... }
... with open("data/config.json") as checkproxy:
... data = json.load(checkproxy)
... want_proxy = data['Use_Proxy']
... if want_proxy == "y":
... with open("data/proxies.txt", "r") as proxy_select:
... proxies = proxy_select.readlines()
...
... random_proxy = random.choice(proxies).strip()
... proxies = {"http://": f"http://{random_proxy}", "https://": f"http://{random_proxy}"}
... session = httpx.Client(headers=headers, proxies=proxies, timeout=30)
... if want_proxy == "n":
... session = httpx.Client(headers=headers, timeout=30)
...
return session
File "", line 1
return session
IndentationError: unexpected indent
session = check_if_proxy()
Traceback (most recent call last):
File "", line 1, in
File "", line 5, in check_if_proxy
FileNotFoundError: [Errno 2] No such file or directory: 'data/config.json'
with open("data/config.json") as file:
... data = json.load(file)
... thread_count = data['Threads']
...
Traceback (most recent call last):
File "", line 1, in
FileNotFoundError: [Errno 2] No such file or directory: 'data/config.json'
threads = []
for _ in range(thread_count):
... thread = threading.Thread(target=run_account_creation, args=(session,))
... threads.append(thread)
... thread.start()
...
Traceback (most recent call last):
File "", line 1, in
NameError: name 'thread_count' is not defined
for thread in threads:
... thread.join() python main.py
File "", line 2
thread.join() python main.py
^^^^^^
SyntaxError: invalid syntax
python main.py
File "", line 1
python main.py
^^^^
SyntaxError: invalid syntax
import os
import time
import json
import ctypes
try:
... import requests
... import colored
... import pystyle
... import random
... import string
... import httpx
... import uuid
... import threading
... import datetime
... except ModuleNotFoundError:
... os.system('pip install requests')
... os.system('pip install colored')
... os.system('pip install pystyle')
... os.system("pip install random")
... os.system("pip install string")
... os.system("pip install httpx")
... os.system("pip install uuid")
... os.system("pip install threading")
... os.system("pip install datetime")
...
from threading import Thread, active_count
from colored import fg
from pystyle import Write, System, Colors, Colorate
from json import dumps
from uuid import uuid4
from random import choice, choices, randint
from datetime import datetime
from colorama import Fore
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'colorama'
red = Fore.RED
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
purple = Fore.MAGENTA
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
yellow = Fore.YELLOW
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
green = Fore.GREEN
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
nothing = Fore.RESET
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
dark_blue = Fore.BLUE
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
gray = Fore.LIGHTBLACK_EX
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
blue = Fore.BLUE
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
pink = Fore.LIGHTMAGENTA_EX
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Fore' is not defined
madeAccounts = 0
failed_accs = 0
proxy_error = 0
def run_account_creation(session):
... while True:
... try:
... token = client_token(session)
... csrf = get_csrf(session)
... generate_account(session, token, csrf)
... except Exception as e:
... pass
...
def get_current_time():
... current_time = datetime.now().strftime("%H:%M:%S")
... return current_time
...
def getBirthday():
... day = str(randint(1, 28))
... month = str(randint(1, 12))
...
if int(month) < 10: month = "0" + month
File "", line 1
if int(month) < 10: month = "0" + month
IndentationError: unexpected indent
if int(day) < 10: day = "0" + day
File "", line 1
if int(day) < 10: day = "0" + day
IndentationError: unexpected indent
File "", line 1
return birthday
IndentationError: unexpected indent
def generate_email():
... with open("data/config.json") as file:
... data = json.load(file)
... gen = data['Email_Names']
... if gen == "" or gen == " ":
... gen = ''.join(random.choices(string.ascii_lowercase + string.digits, k=17))
... domain = "gmail.com"
... email = f"{gen}@{domain}"
... return email
... else:
... domain = "gmail.com"
... email = f"{gen}@{domain}"
... return email
...
def generate_username():
... with open("data/config.json") as file:
... data = json.load(file)
... usernames = data['Username']
... if usernames == "" or usernames == " ":
... username = ''.join(random.choices(string.ascii_lowercase + string.digits, k=10))
... names = ["Radu loves Spotify", "yx1337 is cool", "radutool", "PussyKill", "Big fat cock", "h4ck3dr4du", "yx1337", "imagine genned", "spotifai", "cool gen - radu / yx", "yx is cool", "radu is cool", "very big cock", "fat cock", "penis", "pizda cu chapa"]
... name = choice(names)
... user = username + " | " + name
... username = user
... return username
... else:
... username = ''.join(random.choices(string.ascii_lowercase + string.digits, k=10))
... user = usernames + " | " + username
... username = user
... return username
...
def generate_password():
... with open("data/config.json") as file:
... data = json.load(file)
... check_pass = data['Password']
... if check_pass == "" or check_pass == " ":
... password = ''.join(random.choices(string.ascii_letters + string.digits, k=12))
... return password
... else:
... password = check_pass
... return password
...
def getAvatar():
... avatars = ["images-75.jpg", "images-76.jpg", "images-77.jpg", "images-78.jpg", "images-79.jpg", "images-80.jpg", "images-81.jpg", "images-82.jpg", "images-83.jpg", "images-84.jpg", "images-85.jpg", "images-86.jpg", "images-87.jpg", "images-88.jpg", "images-89.jpg", "images-90.jpg", "images-91.jpg"]
... image = open('data/avatars/' + choice(avatars), 'rb').read()
... return image
... def set_console_title(title):
File "", line 5
def set_console_title(title):
^^^
SyntaxError: invalid syntax
ctypes.windll.kernel32.SetConsoleTitleW(title)
File "", line 1
ctypes.windll.kernel32.SetConsoleTitleW(title)
IndentationError: unexpected indent
set_console_title(f"Spotify Account Creator | By H4cK3dR4Du & yx1337 | github.com/H4cK3dR4Du ~ github.com/yxsyn")
Traceback (most recent call last):
File "", line 1, in
NameError: name 'set_console_title' is not defined
def check_if_proxy():
... headers = {
... "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0"
... }
... with open("data/config.json") as checkproxy:
... data = json.load(checkproxy)
... want_proxy = data['Use_Proxy']
... if want_proxy == "y":
... with open("data/proxies.txt", "r") as proxy_select:
... proxies = proxy_select.readlines()
...
... random_proxy = random.choice(proxies).strip()
... proxies = {"http://": f"http://{random_proxy}", "https://": f"http://{random_proxy}"}
... session = httpx.Client(headers=headers, proxies=proxies, timeout=30)
... if want_proxy == "n":
... session = httpx.Client(headers=headers, timeout=30)
...
return session
File "", line 1
return session
IndentationError: unexpected indent
session = check_if_proxy()
Traceback (most recent call last):
File "", line 1, in
File "", line 5, in check_if_proxy
FileNotFoundError: [Errno 2] No such file or directory: 'data/config.json'
with open("data/config.json") as file:
... data = json.load(file)
... thread_count = data['Threads']
...
Traceback (most recent call last):
File "", line 1, in
FileNotFoundError: [Errno 2] No such file or directory: 'data/config.json'
threads = []
for _ in range(thread_count):
... thread = threading.Thread(target=run_account_creation, args=(session,))
... threads.append(thread)
... thread.start()
...
Traceback (most recent call last):
File "", line 1, in
NameError: name 'thread_count' is not defined
for thread in threads:
... thread.join()
The text was updated successfully, but these errors were encountered:
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
Collecting colored
Downloading colored-2.2.3-py3-none-any.whl (16 kB)
Installing collected packages: colored
Successfully installed colored-2.2.3
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
Collecting pystyle
Downloading pystyle-2.9-py3-none-any.whl (13 kB)
Installing collected packages: pystyle
Successfully installed pystyle-2.9
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
ERROR: Could not find a version that satisfies the requirement random (from versions: none)
ERROR: No matching distribution found for random
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
1
ERROR: Could not find a version that satisfies the requirement string (from versions: none)
ERROR: No matching distribution found for string
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
1
Collecting httpx
Downloading httpx-0.24.1-py3-none-any.whl (75 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.4/75.4 kB 2.0 MB/s eta 0:00:00
Requirement already satisfied: certifi in c:\users\owner\appdata\local\programs\python\python311\lib\site-packages (from httpx) (2023.7.22)
Collecting httpcore<0.18.0,>=0.15.0 (from httpx)
Downloading httpcore-0.17.3-py3-none-any.whl (74 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.5/74.5 kB 4.0 MB/s eta 0:00:00
Requirement already satisfied: idna in c:\users\owner\appdata\local\programs\python\python311\lib\site-packages (from httpx) (3.4)
Collecting sniffio (from httpx)
Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting h11<0.15,>=0.13 (from httpcore<0.18.0,>=0.15.0->httpx)
Downloading h11-0.14.0-py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 3.0 MB/s eta 0:00:00
Collecting anyio<5.0,>=3.0 (from httpcore<0.18.0,>=0.15.0->httpx)
Downloading anyio-3.7.1-py3-none-any.whl (80 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.9/80.9 kB 2.3 MB/s eta 0:00:00
Installing collected packages: sniffio, h11, anyio, httpcore, httpx
Successfully installed anyio-3.7.1 h11-0.14.0 httpcore-0.17.3 httpx-0.24.1 sniffio-1.3.0
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
Collecting uuid
Downloading uuid-1.30.tar.gz (5.8 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: uuid
Building wheel for uuid (pyproject.toml) ... done
Created wheel for uuid: filename=uuid-1.30-py3-none-any.whl size=6484 sha256=aedc6eb6d52c9df6da5ae4553930c3f969a7623357ba5d7c1c79be5894d3350e
Stored in directory: c:\users\owner\appdata\local\pip\cache\wheels\e0\01\df\bd20df409bd81f8b99e6cd343c5f49731dc0a20eefefdafae0
Successfully built uuid
Installing collected packages: uuid
Successfully installed uuid-1.30
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
ERROR: Could not find a version that satisfies the requirement threading (from versions: none)
ERROR: No matching distribution found for threading
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
1
Collecting datetime
Downloading DateTime-5.2-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.2/52.2 kB 912.7 kB/s eta 0:00:00
Collecting zope.interface (from datetime)
Downloading zope.interface-6.0-cp311-cp311-win_amd64.whl (204 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 204.1/204.1 kB 2.1 MB/s eta 0:00:00
Collecting pytz (from datetime)
Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 4.5 MB/s eta 0:00:00
Requirement already satisfied: setuptools in c:\users\owner\appdata\local\programs\python\python311\lib\site-packages (from zope.interface->datetime) (65.5.0)
Installing collected packages: pytz, zope.interface, datetime
Successfully installed datetime-5.2 pytz-2023.3 zope.interface-6.0
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
0
File "", line 1
birthday = "-".join([str(randint(1910, 2004)), month, day])
IndentationError: unexpected indent
File "", line 1
return birthday
IndentationError: unexpected indent
SyntaxError: expected 'except' or 'finally' block
File "", line 1
headers = {
IndentationError: unexpected indent
File "", line 1
"Host": "clienttoken.spotify.com",
IndentationError: unexpected indent
File "", line 1
"Accept": "application/json",
IndentationError: unexpected indent
File "", line 1
"Accept-Language": "tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3",
IndentationError: unexpected indent
File "", line 1
"Accept-Encoding": "gzip, deflate, br",
IndentationError: unexpected indent
File "", line 1
"Content-Type": "application/json",
IndentationError: unexpected indent
File "", line 1
"Content-Length": str(len(json.dumps(payload))),
IndentationError: unexpected indent
File "", line 1
"Origin": "https://open.spotify.com",
IndentationError: unexpected indent
File "", line 1
"Sec-Fetch-Dest": "empty",
IndentationError: unexpected indent
File "", line 1
"Sec-Fetch-Mode": "cors",
IndentationError: unexpected indent
File "", line 1
"Sec-Fetch-Site": "same-site",
IndentationError: unexpected indent
File "", line 1
"Referer": "https://open.spotify.com/",
IndentationError: unexpected indent
File "", line 1
"Connection": "keep-alive",
IndentationError: unexpected indent
File "", line 1
"TE": "trailers"
IndentationError: unexpected indent
File "", line 1
}
IndentationError: unexpected indent
File "", line 1
response = session.post(url='https://clienttoken.spotify.com/v1/clienttoken', headers=headers, json=payload)
IndentationError: unexpected indent
File "", line 1
if response.status_code == 200:
IndentationError: unexpected indent
File "", line 1
current_time = get_current_time()
IndentationError: unexpected indent
File "", line 1
return response.json()['granted_token']['token']
IndentationError: unexpected indent
File "", line 1
else:
IndentationError: unexpected indent
File "", line 1
pass
IndentationError: unexpected indent
File "", line 1
except requests.exceptions.RequestException as e:
IndentationError: unexpected indent
File "", line 1
pass
IndentationError: unexpected indent
File "", line 1
birthday = "-".join([str(randint(1910, 2004)), month, day])
IndentationError: unexpected indent
File "", line 1
return birthday
IndentationError: unexpected indent
SyntaxError: expected 'except' or 'finally' block
File "", line 1
headers = {
IndentationError: unexpected indent
File "", line 1
"Host": "clienttoken.spotify.com",
IndentationError: unexpected indent
File "", line 1
"Accept": "application/json",
IndentationError: unexpected indent
File "", line 1
"Accept-Language": "tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3",
IndentationError: unexpected indent
File "", line 1
"Accept-Encoding": "gzip, deflate, br",
IndentationError: unexpected indent
File "", line 1
"Content-Type": "application/json",
IndentationError: unexpected indent
File "", line 1
"Content-Length": str(len(json.dumps(payload))),
IndentationError: unexpected indent
File "", line 1
"Origin": "https://open.spotify.com",
IndentationError: unexpected indent
File "", line 1
"Sec-Fetch-Dest": "empty",
IndentationError: unexpected indent
File "", line 1
"Sec-Fetch-Mode": "cors",
IndentationError: unexpected indent
File "", line 1
"Sec-Fetch-Site": "same-site",
IndentationError: unexpected indent
File "", line 1
"Referer": "https://open.spotify.com/",
IndentationError: unexpected indent
File "", line 1
"Connection": "keep-alive",
IndentationError: unexpected indent
File "", line 1
"TE": "trailers"
IndentationError: unexpected indent
File "", line 1
}
IndentationError: unexpected indent
File "", line 1
response = session.post(url='https://clienttoken.spotify.com/v1/clienttoken', headers=headers, json=payload)
IndentationError: unexpected indent
File "", line 1
if response.status_code == 200:
IndentationError: unexpected indent
File "", line 1
current_time = get_current_time()
IndentationError: unexpected indent
File "", line 1
return response.json()['granted_token']['token']
IndentationError: unexpected indent
File "", line 1
else:
IndentationError: unexpected indent
File "", line 1
pass
IndentationError: unexpected indent
File "", line 1
except requests.exceptions.RequestException as e:
IndentationError: unexpected indent
File "", line 1
pass
IndentationError: unexpected indent
The text was updated successfully, but these errors were encountered: