开发者

YQL query on an ajax dynamically loaded html page

开发者 https://www.devze.com 2023-04-02 17:08 出处:网络
I want to scrape a page using YQL but the page is loaded via ajax using json files and the returned data is the html file with out any data. It there a way to make sure the page is fully loaded be开发

I want to scrape a page using YQL but the page is loaded via ajax using json files and the returned data is the html file with out any data. It there a way to make sure the page is fully loaded be开发者_运维知识库fore returning the data via YQL? Thanks in advance! Ryan


As far as I know, jquery ajax success function will return the fully loaded response. I use it quite often and I have never had it return a partial response from an ajax request where I would be required to wait for more data.

Have you used the Firebug NET tab to verify what is being sent and received back in your ajax requests? If not, thats a good place to start to see whats going on.

0

精彩评论

暂无评论...
验证码 换一张
取 消