Invalid environment specified: http://datatables.org/alltables.env

获取Yahoo股票的API会报错:http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%27AAPL%27)&format=json&diagnostics=true&env=http://datatables.org/alltables.env

解决方案:改成如下红色字体形式

http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%27AAPL%27)&format=json&diagnostics=true&env=store://datatables.org/alltableswithkeys

上一篇:Jsoup获取部分页面数据失败 Unhandled content type. Must be text/*, application/xml, or application/xhtml+xml


下一篇:C#中sealed关键字