diff --git a/bingauto2.js b/bingauto2.js index 8fa065a..15c1027 100755 --- a/bingauto2.js +++ b/bingauto2.js @@ -85,7 +85,7 @@ module.exports = class BingAuto2 { async newMainPage(login = true) { this.mainPage = await this.newPage(); if (login) - await sleep(1); + await sleep(3); await this.login(); } diff --git a/test.js b/test.js index 8176582..bd8c103 100755 --- a/test.js +++ b/test.js @@ -8,7 +8,7 @@ let main = async () => { let accounts = [['nemobaki@hotmail.com', 'Rhlehvkd26'], ['yirugi@hotmail.com', 'Dlfnzl26'], ['rosemarymulti2@outlook.com', 'fhwmakfl2'], ['kim.iluk@hotmail.com', 'Dlfnzl26']]; // accounts = accounts.splice(3); for (let account of accounts) { - let ba = new BingAuto2(account[0], account[1], true); + let ba = new BingAuto2(account[0], account[1], false); console.log('Start collection (' + account[0] + ') -', new Date().toLocaleString()); await ba.startBrowser();