Update youProvider.mjs

This commit is contained in:
被遗忘的记忆
2025-02-23 07:50:32 +08:00
committed by GitHub
parent 823883f2a1
commit 2c3d235ba3
+5 -5
View File
@@ -290,11 +290,11 @@ class YouProvider {
waitUntil: 'domcontentloaded' waitUntil: 'domcontentloaded'
}); });
// try { try {
// await page.waitForNetworkIdle({timeout: 10000}); await page.waitForNetworkIdle({timeout: 5000});
// } catch (err) { } catch (err) {
// console.warn(`[${currentUsername}] 等待网络空闲超时`); console.warn(`[${currentUsername}] 等待网络空闲超时`);
// } }
// 检测是否为 team 账号 // 检测是否为 team 账号
session.isTeamAccount = await page.evaluate(() => { session.isTeamAccount = await page.evaluate(() => {
let teamElement = document.querySelector('div._15zm0ko1 p._15zm0ko2'); let teamElement = document.querySelector('div._15zm0ko1 p._15zm0ko2');