0

Can No Longer Retrieve Content from Cross-Domain source

I have been using jquery.xdomainajax.js which in turn uses YQL to retrieve html data from and external source.

This has all worked great until 2 weeks ago. I traced the bug back to YQL. Using the dev console I can see the files are flagged as 406 errors (Not Acceptable content type). The data contained in the file is simple html as seen below.... (Example) "

"

In the YQL console I tried the following query and got the response below. This used to work fine. Has something changed in the API? I'm fairly certain it must've. Nothing has changed our end and access rights to the files haven't changed. I can still access the files from a browser. Any Ideas anyone?

select * from html where url="[myserver]/football/2013/epl/ClubARS.txt" and xpath="*"

"http://www.yahooapis.com/v1/base.rng" <yahoo:count=>"0" <yahoo:created=>"2013-09-24T13:30:02Z" <yahoo:lang=>"en-US"> true <![CDATA[[myserver]/football/2013/epl/ClubARS.txt]]> <![CDATA[[myserver]/football/2013/epl/ClubARS.txt]]> 3000 5998 0.2.1805 <results/>

Thanks, Andrew

by
4 Replies
  • Thats not very good formatting is it???

    0
  • OK this is basically what gets returned....

     <url error="Not Acceptable" execution-start-time="1"
                execution-stop-time="1697" execution-time="1696"
                http-status-code="406" http-status-message="Not Acceptable"><![CDATA[<http://imageseasynet.fantasyleague.com/fast4/football/2013/epl/ClubARS.txt>]]></url>
            <url error="Not Acceptable" execution-start-time="1"
                execution-stop-time="1697" execution-time="1696"
                http-status-code="406" http-status-message="Not Acceptable"><![CDATA[<http://imageseasynet.fantasyleague.com/fast4/football/2013/epl/ClubARS.txt>]]></url>
    
    0
  • In a nutshell YQL no longer retreives the data, instead it flags a 406 as not acceptable data. Why is a simple bit of HTML no acceptable to the API anymore?

    0
  • Anyone there ???

    0

Recent Posts

in YQL