开发者

Any idea on how to scrape pages which are behind __doPostBack('...');?

I am working on this php base scraper/crawler, which works fine until it get .net generated herf lin开发者_如何转开发k __doPostBack(...), any idea how to deal with this and crawl page behind those links ?


Instead of trying to automate clicking the JavaScript button, which requires additional libraries in PHP, try replicating what request is sent by your browser after clicking the button. There are various firefox extensions that will help you examine the request, such as TamperData, Firebug, and LiveHttp.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜