|
60精币
https://stock.xueqiu.com/v5/stock/quote.json?symbol=SH000001&extend=detail
通过浏览器访问可以得到
{"data":{"market":{"status_id":8,"region":"CN","status":"休市","time_zone":"Asia/Shanghai","time_zone_desc":null,"delay_tag":0},"quote":{"symbol":"SH000001","flat_count":87,"code":"000001","high52w":3723.8451,"avg_price":3269.97,"delayed":0,"type":12,"percent":-0.06,"tick_size":0.01,"float_shares":4057265013032,"amplitude":1.43,"current":3269.97,"high":3293.6439,"current_year_percent":-10.16,"float_market_capital":2.523988507636488E13,"issue_date":1041264000000,"low":3246.7313,"sub_type":null,"market_capital":4.7854201E13,"currency":"CNY","lot_size":100,"lock_set":0,"timestamp":1658473200000,"fall_count":873,"rise_count":740,"amount":3.83576011593E11,"chg":-2.03,"last_close":3272.0012,"volume":30069006600,"volume_ratio":0.9,"turnover_rate":0.74,"low52w":2863.6497,"name":"上证指数","exchange":"SH","time":1658473200000,"total_shares":14634446493,"open":3276.1966,"status":1},"others":{"pankou_ratio":null,"cyb_switch":true},"tags":[]},"error_code":0,"error_description":""}
但是通过编码_utf8到gb2312 (字节集_到文本 (HTTP读文件 (“https://stock.xueqiu.com/v5/stock/quote.json?symbol=SH000001&extend=detail”)))
得到结果是{"error_description":"遇到错误,请刷新页面或者重新登录帐号后再试","error_uri":"/v5/stock/quote.json","error_data":null,"error_code":"400016"}
如何解决这个问题?
|
|