我的应用程序显示股票市场数据。我使用YQL来获取股票数据。
http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22SBIN.NS%22)&env=store://datatables.org/alltableswithkeys&diagnostics=true&format=xml
两天后,当我在早上或之前(印度时间下午1点)获取时,yql查询返回空响应。但现在它显示了确切的问题
查询结果为“yahoo.finance.quotes”已被阻塞。
响应是
<query xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" yahoo:count="0" yahoo:created="2012-09-26T11:24:22Z" yahoo:lang="en-US">
<diagnostics>
<publiclyCallable>true</publiclyCallable>
<url execution-start-time="20" execution-stop-time="23" execution-time="3" proxy="DEFAULT">
<![CDATA[
http://www.datatables.org/yahoo/finance/yahoo.finance.quotes.xml
]]>
</url>
<cache execution-start-time="25" execution-stop-time="26" execution-time="1" method="GET" type="MEMCACHED">
<![CDATA[ 13c4f8eac77ad886bade5a711c8c1ef5 ]]>
</cache>
<javascript name="yahoo.finance.quotes" verb="select">
<![CDATA[
com.yahoo.platforms.pipes.model.ModuleException: Error Codes: js.blocked.execute.request Message: "The current table 'yahoo.finance.quotes' has been blocked. It exceeded the allotted quotas of either time or instructions"
]]>
</javascript>
<user-time>26</user-time>
<service-time>4</service-time>
<build-version>30549</build-version>
</diagnostics>
<results/>
</query>我没有超过1000\小时的请求限制。在一天中尝试50次。
发布于 2012-09-26 19:46:54
“这是一个社区贡献的表,由多个人使用。如果一个表似乎占用了我们的资源,或者持续执行时间超过30秒(这也可能是由于下游来源较慢),我们会将其标记为滥用。这个特定的表似乎比其他表被标记为滥用的次数更多。我们还会在一段时间后删除我们的块,因此表的工作是零星的。如果您的应用程序需要更稳定的数据源,我建议您等待Yahoo!Finance的正式表。”
http://developer.yahoo.com/forum/YQL/YQL-The-current-table-39-yahoo-finance-quotes-39-has/1332611837865-68d31e89-80e4-4691-91e6-86f687302ff4
https://stackoverflow.com/questions/12596514
复制相似问题