此工具可以将网页生成图片或者pdf图,也可以作为http反向代理服务

API

NameRequiredValueDescriptionUsage
urlyes Target URLhttp://puppeteer-renderer?url=http://www.google.com
type pdf or screenshotRendering another type.http://puppeteer-renderer?url=http://www.google.com&type=pdf&margin.top=10px
animationTimeout Timeout in millisecondsWaits for animations to finish before taking the screenshot. Only applicable to type screenshothttp://puppeteer-renderer?url=http://www.google.com&type=screenshot&animationTimeout=3000
(Extra options) Extra options (see puppeteer API doc)http://puppeteer-renderer?url=http://www.google.com&type=pdf&scale=2

工具地址:github地址

最后修改:2020 年 08 月 06 日 07 : 41 PM
如果觉得我的文章对你有用,请随意赞赏