support more texts
This commit is contained in:
@@ -135,9 +135,10 @@ class OCRChecker {
|
||||
await this.deleteFile(fileName)
|
||||
return OCRResult.BRAVE_NOTIFICATION
|
||||
} else if (result.includes(SLIDING_CAPTCHA_FR) || result.includes(SLIDING_CAPTCHA_FR_2) || result.includes(SLIDING_CAPTCHA_FR_3) || result.includes(SLIDING_CAPTCHA_FR_4) || result.includes(SLIDING_CAPTCHA_FR_5) || result.includes(SLIDING_CAPTCHA_FR_6)) {
|
||||
await this.deleteFile(fileName)
|
||||
if (result.includes(SLIDING_CAPTCHA_LOADING_FR)) {
|
||||
return OCRResult.SLIDING_CAPTCHA_LOADING
|
||||
} else {
|
||||
await this.deleteFile(fileName)
|
||||
}
|
||||
// await this.deleteFile(screenShot)
|
||||
// if (result.includes("rac"))
|
||||
|
||||
Reference in New Issue
Block a user