开发者

PHP and cURL or otherwise. Can it retrieve JavaScript generated data?

I know this is very unlikely, but maybe there is another solution.

What I want to do is retrieve JavaScript generated data from an external website. This isn't for an exploit, but rather a test.

I noticed Google cannot index Ajax generated content.. but could they, and more importantly, how?

开发者_Python百科

I guess that is a better way of putting it.


You certainly can do it on a case-by-case basis. However you wouldn't use a tool like cURL. Instead, you'd use something more sophisticated like a browser or javascript interpreter (Rhino springs to mind) to interpret and run the JS and then retrieve the values from there.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜