Puppeteer之实战教程-抓取网页数据

276 阅读1分钟

1.新建pythonData.js 具体代码如下

image.png

执行node pythonData.js 得到我们需要爬取的数据

image.png

这个demo代码比较简单也比较容易理解