How to download a webpage with puppeteer and convert the images to base64 so the final output is a single page file?

后端 未结 0 2024
面向向阳花
面向向阳花 2021-01-18 19:36

I have the following code which scrapes a webpage, removes the javascript, and saves it to disk:

const puppeteer = require(\'puppeteer\');
const fs = require(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题