https://zzk.cnblogs.com/my/s/blogpost-p?Keywords=headless

solution

  1. 使用 template 页面的 iframe 内嵌 url
  2. node 渲染 template 页面, 导出 画报/PDF

puppeteer

Headless Chrome Node API

https://github.com/puppeteer/puppeteer
https://github.com/GoogleChrome/puppeteer

Node.js & 页面截图 & 生成画报

https://github.com/puppeteer/puppeteer#what-can-i-do

demos

https://try-puppeteer.appspot.com/

https://render-tron.appspot.com/

https://pptr.dev/

refs



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


相关文章:

  • 2021-07-03
  • 2022-12-23
  • 2021-11-19
  • 2021-08-02
  • 2021-12-02
  • 2021-10-08
  • 2021-06-11
  • 2021-08-15
猜你喜欢
  • 2021-08-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2021-12-18
  • 2022-02-02
  • 2021-07-15
相关资源
相似解决方案