简体   繁体   中英

YQL query on an ajax dynamically loaded html page

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 before 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM