d
All checks were successful
本地构建并运行容器 / build (push) Successful in 10s

This commit is contained in:
2026-05-28 11:02:51 +08:00
parent 47415ee255
commit 1ea4c57dc1

View File

@@ -24,13 +24,14 @@ async function startTask() {
timeout: <number>config.pageTimeOut
});
await page.setViewport({ width: 1080, height: 1024 });
// await page.setViewport({ width: 1080, height: 1024 });
// 抓取数量
const number = await page.$eval(
'#semiTabpost h2 span:last-child',
el => el.textContent.trim()
);
console.log('1 抓取到主播最新作品数:', number);
// 获取旧值