requests版本不对_requests.get 获取的数据跟浏览器不一样,请问是怎么回事,以及如何解决?...

小弟不才,请大佬给与指点一下: 浏览器直接访问: https://yunbi.com//api/v2/tickers.json 可以得到数据 ,数据如下:

{"btscny":{"at":1499437552,"ticker":{"buy":"1.29","sell":"1.2989","low":"1.2552","high":"1.488","last":"1.2989","vol":"22699215.34"}},"dgdcny":{"at":1499437552,"ticker":{"buy":"440.1","sell":"449.99","low":"440.1","high":"519.0","last":"444.31","vol":"3584.5416"}},"eoscny":{"at":1499437552,"ticker":{"buy":"18.76","sell":"18.79","low":"18.14","high":"23.7","last":"18.76","vol":"21589228.2"}},"zmccny":{"at":1499437552,"ticker":{"buy":"3.62","sell":"3.64","low":"3.61","high":"3.79","last":"3.64","vol":"1000131.94"}},"ethcny":{"at":1499437552,"ticker":{"buy":"1716.83","sell":"1720.0","low":"1708.33","high":"1912.0","last":"1720.0","vol":"41138.7311"}},"1stcny":{"at":1499437552,"ticker":{"buy":"6.68","sell":"6.693","low":"6.33","high":"8.357","last":"6.68","vol":"6911844.041"}},"btccny":{"at":1499437552,"ticker":{"buy":"17530.6","sell":"17655.93","low":"17450.0","high":"18326.0","last":"17528.48","vol":"1833.3871"}},"etccny":{"at":1499437552,"ticker":{"buy":"115.5","sell":"115.9","low":"115.0","high":"124.8","last":"115.5","vol":"177334.222"}},"gxscny":{"at":1499437552,"ticker":{"buy":"23.25","sell":"23.299","low":"22.2","high":"31.66","last":"23.299","vol":"4412422.437"}},"qtumcny":{"at":1499437552,"ticker":{"buy":"51.81","sell":"52.0","low":"50.18","high":"62.0","last":"51.81","vol":"635315.869"}},"repcny":{"at":1499437552,"ticker":{"buy":"173.0","sell":"176.97","low":"173.0","high":"195.0","last":"179.43","vol":"3157.361"}},"gntcny":{"at":1499437552,"ticker":{"buy":"2.61","sell":"2.62","low":"2.6","high":"3.076","last":"2.62","vol":"1399876.0"}},"sccny":{"at":1499437552,"ticker":{"buy":"0.0694","sell":"0.0699","low":"0.068","high":"0.0885","last":"0.0694","vol":"337006202.0"}},"anscny":{"at":1499437552,"ticker":{"buy":"47.5","sell":"47.875","low":"46.1","high":"54.499","last":"47.875","vol":"706340.398"}},"zeccny":{"at":1499437552,"ticker":{"buy":"1718.0","sell":"1719.0","low":"1700.0","high":"1986.0","last":"1719.0","vol":"8257.776"}}}

看到的数据却不一样。 请问该如何获取里面的数据呢? 感谢

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值