Open hepingtao opened 7 years ago
运行 heart.py,response.json()[0] 报错:
heart.py
response.json()[0]
raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded
新浪微博API返回的是html,并不是json格式,因此报错
运行
heart.py
,response.json()[0]
报错:新浪微博API返回的是html,并不是json格式,因此报错