sdfsdf
This commit is contained in:
@@ -33,6 +33,10 @@ class CaptchaComp {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sleep(m) {
|
||||||
|
return new Promise(r => setTimeout(r, m))
|
||||||
|
}
|
||||||
|
|
||||||
isCaptchaPage(html) {
|
isCaptchaPage(html) {
|
||||||
return html.indexOf('hcaptcha') > -1 || html.indexOf('www.google.com/recaptcha/api2/anchor') > -1
|
return html.indexOf('hcaptcha') > -1 || html.indexOf('www.google.com/recaptcha/api2/anchor') > -1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user