remove beep
This commit is contained in:
@@ -2,7 +2,9 @@ const {SolveCaptcha, TWO_CAPTCHA_CONNECTION_FAILED} = require("./SolveCaptcha");
|
||||
const ReserveResultPojo = require("../models/ReserveResultPojo");
|
||||
const appointmentLogger = require("../utiles/LoggerUtils")
|
||||
const PublishType = require("../models/PublishType");
|
||||
const beep = require('beepbeep')
|
||||
const {
|
||||
shell
|
||||
} = require('electron')
|
||||
// const RDV_URL = "http://192.168.0.44:8000/test_appointment.html"
|
||||
const RDV_URL = "https://rendezvousparis.hermes.com/client/register";
|
||||
BLANK_URL = "about:blank"
|
||||
@@ -293,7 +295,11 @@ class CommandorPage {
|
||||
|
||||
if (content.toString().includes(captcha_url)) {
|
||||
await this.checkAudioBtn();
|
||||
beep(20)
|
||||
for (let i = 0; i < 15; i++) {
|
||||
await delay(1000)
|
||||
console.log("will call beep")
|
||||
shell.beep()
|
||||
}
|
||||
console.log("发现datadome");
|
||||
} else {
|
||||
if (currentPage.url() === RDV_URL) {
|
||||
|
||||
Reference in New Issue
Block a user