mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-12-12 12:31:29 +01:00
Add traces with captcha solver service. resolves #39
This commit is contained in:
@@ -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]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user