I Luk Kim 3 years ago
parent 6f66daeb9c
commit 7b9b4f182e

@ -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();
}

@ -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();

Loading…
Cancel
Save