小弟不才,请大佬给与指点一下: 浏览器直接访问: https://yunbi.com//api/v2/tickers.json 可以得到数据 h=requests.get('https://yunbi.com//api/v2/tickers.json') print h.text
却无法看到数据。 请问该如何获取里面的数据呢? 感谢
小弟不才,请大佬给与指点一下: 浏览器直接访问: https://yunbi.com//api/v2/tickers.json 可以得到数据 h=requests.get('https://yunbi.com//api/v2/tickers.json') print h.text
却无法看到数据。 请问该如何获取里面的数据呢? 感谢
1
codeforlife Jul 7, 2017
你再试试吧。我怎么试了完全没问题
|
2
gimp Jul 7, 2017
没问题 +1
|
3
newbie269 Jul 7, 2017 via iPhone
没问题+2
|
4
Maplewind Jul 7, 2017 via iPhone
是否是 requests 库版本问题...?
|
5
annielong Jul 7, 2017
没问题+3,
|
6
OldPanda Jul 8, 2017
没问题+4
Python 2.7.13 Requests 2.13.0 |