This commit is contained in:
Lukas Schulz 2020-12-19 23:38:49 +01:00
parent c13b1bb6e1
commit 4a6414f897

View file

@ -42,7 +42,7 @@ def get_track():
image_url = track['item']['album']['images'][0]['url'] image_url = track['item']['album']['images'][0]['url']
response = requests.get(image_url) response = requests.get(image_url)
image = Image.open(BytesIO(response.content)) image = Image.open(BytesIO(response.content))
print(image_url)
#imageString = requests.get(track['item']['album']['images'][0]['url']) #imageString = requests.get(track['item']['album']['images'][0]['url'])
#image = Image.open(f) #image = Image.open(f)
print('resizing image') print('resizing image')