You need to call launch with disabled signals handling,
browser = await launch(
handleSIGINT=False,
handleSIGTERM=False,
handleSIGHUP=False
)
不知道为什么, 反正能用了.......
You need to call launch with disabled signals handling,
browser = await launch(
handleSIGINT=False,
handleSIGTERM=False,
handleSIGHUP=False
)
不知道为什么, 反正能用了.......
本文标题:在flask中调用pyppeteer需要添加的选项
本文链接:https://www.haomeiwen.com/subject/lklsbctx.html
网友评论