只是想把这个不准确的地方解决。
从Now API拉出时,某些图像的高度和宽度与图像的实际尺寸不一致。
示例:
"images": [{
"height": 90,
"alt": "",
"width": 90,
"name": "Cowherd makes picks for Week 10 in the NFL",
"caption": "Cowherd makes picks for Week 10 in the NFL",
"credit": "",
"url": "http://a.espncdn.com/i/espnradio/stations/espn/shows/300/theherd.jpg"
},
height
为90
而width
为90
但图片实际为300px(由jpg网址提示)。
似乎发生了我遇到过的多张图片,你能解决吗吗?
谢谢!
答案 0 :(得分:0)
截至12月7日,ESPN已向公众关闭其API。对于想要回复的user2727221也很抱歉。因此,尚未对API进行更新或修复。