response_post =unirest.get("http://timesofindia.indiatimes.com/feeds/newsdefaultfeeds.cms?feedtype=sjson",headers={
"X-Mashape-Key": "key",
"Accept": "application/json"},)
如何将 response_post 解析为 json 结果?
您是否尝试将 .body 添加到请求的末尾?
文档看起来很清楚 - http://unirest.io/python.html
response_post =unirest.get("http://timesofindia.indiatimes.com/feeds/newsdefaultfeeds.cms?feedtype=sjson",headers={
"X-Mashape-Key": "key",
"Accept": "application/json"},).body