mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-06-08 04:25:25 +00:00
Add traces with captcha solver service. resolves #39
This commit is contained in:
parent
5710c08581
commit
ade05bb7a8
@ -1,3 +1,5 @@
|
|||||||
|
import log from "../log";
|
||||||
|
|
||||||
export enum CaptchaType {
|
export enum CaptchaType {
|
||||||
re = 'reCaptcha',
|
re = 'reCaptcha',
|
||||||
h = 'hCaptcha'
|
h = 'hCaptcha'
|
||||||
@ -31,5 +33,7 @@ export default (): Solver => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.info(`Using '${method} to solve the captcha.`);
|
||||||
|
|
||||||
return captchaSolvers[method]
|
return captchaSolvers[method]
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user