|
|
|
@ -155,8 +155,13 @@ module.exports = class BingAuto2 {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
await sleep(5);
|
|
|
|
await sleep(5);
|
|
|
|
let point = await this.getText(this.mainPage, 'div.info-columns mee-rewards-counter-animation span');
|
|
|
|
try {
|
|
|
|
console.log('> Current point :', point);
|
|
|
|
let point = await this.getText(this.mainPage, 'div.info-columns mee-rewards-counter-animation span');
|
|
|
|
|
|
|
|
console.log('> Current point :', point);
|
|
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
|
|
console.log('Failed to get point');
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return parseInt(point.replace(',', ''));
|
|
|
|
return parseInt(point.replace(',', ''));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|