from PIL import Image
import requests
from io import BytesIO

url="http://huasteco.tiburcio.mx/marvel"
res=requests.get(url)
datos=res.json()

response = requests.get(datos[8]['foto'])
img = Image.open(BytesIO(response.content))
img.show()

print("FIN")
