Node phantomjs 如何获取页面中 iframe 中的 html
 发布于 7 年前  作者 gongcheng121  2717 次预览  最后一次回复是 7 年前  来自 问答 

使用 Nodejs 进行抓取页面的时候,js 等都可以运行,但是页面中包含一个 iframe,输出抓取的 html 的时候,iframe 中是空的,没有 dom。用的包是 Node-phantomjs。