共计 420 个字符,预计需要花费 2 分钟才能阅读完成。
代码来源 https://pocketadmin.tech/en/puppeteer-screenshot-page-or-element/
await page.goto(‘https://hostloc.com/forum-45-2.html’);
await page.screenshot({path: ‘2.png’});
我要截图 https://hostloc.com/forum-45-3.html
https://hostloc.com/forum-45-4.html
https://hostloc.com/forum-45-5.html
https://hostloc.com/forum-45-6.html
这样的秋分代码
上一篇: 求便宜的香港小鸡,灵车也敢上
下一篇:chule
能不能组织下语言说人话?
iiss 发表于 2022-8-19 11:18
能不能组织下语言说人话?
啊对不起, 我不清楚哪里没人话了, 我暂时用 for i in range 笨方法循环了
正文完