yes.
This commit is contained in:
parent
d57f1c0886
commit
c1eca8f7ca
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -42,6 +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(str(image))
|
||||||
#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')
|
||||||
|
|
Loading…
Reference in a new issue