for i in img[‘data‘][‘skins‘]: if i[‘name‘] == ‘default‘: i[‘name‘] = ‘默认‘ print(‘[{}皮肤]‘.format(i[‘name‘])+‘ http://ossweb-img.qq.com/images/lol/web201310/skin/big{}.jpg‘.format(i[‘id‘]))
#推荐装备 for i in img[‘data‘][‘blocks‘][0][‘recommended‘]: for ii in i[‘items‘]: print(‘[召唤师峡谷] ‘ +‘https://ossweb-img.qq.com/images/lol/img/item/‘+ ii[‘id‘]+‘.png‘)
for ii in img[‘data‘][‘blocks‘][0][‘recommended‘]: for ii in i[‘items‘]: print(‘[极地大乱斗] ‘ + ‘https://ossweb-img.qq.com/images/lol/img/item/‘ + ii[‘id‘]+‘.png‘)