我正在尝试获取 fortnite-api 网站数据,并且只获取“emote”下列出的内容
r = requests.get('https://fortnite-api.com/v2/cosmetics/br', headers=headers)
rr = r.json()
for sub_dict in rr['data']:
for image_sub_dict in sub_dict['type']:
for j in image_sub_dict['value']:
print(j)
这导致TypeError: string indices must be integers | Json data
幕布斯6054654
慕仙森
相关分类